On Tue, 10 Sep 2013, Li Zefan wrote: > We should use page->pages instead of page->pobjects when calculating > the number of cpu partial slabs. This also fixes the mapping of slabs > and nodes.
True. > As there's no variable storing the number of total/active objects in > cpu partial slabs, and we don't have user interfaces requiring those > statistics, I just add WARN_ON for those cases. Well that is not strictly required but it does not hurt either. Acked-by: Christoph Lameter <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

