From: Tejun Heo Date: Tue, 2 Sep 2014 18:46:05 +0000 (-0400) Subject: percpu: implmeent pcpu_nr_empty_pop_pages and chunk->nr_populated X-Git-Tag: omap-for-v3.19/prcm-cleanup~131^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b539b87fed37ffc16c89a6bc3beca2d7aed82e1c;p=pandora-kernel.git percpu: implmeent pcpu_nr_empty_pop_pages and chunk->nr_populated pcpu_nr_empty_pop_pages counts the number of empty populated pages across all chunks and chunk->nr_populated counts the number of populated pages in a chunk. Both will be used to implement pre/async population for atomic allocations. pcpu_chunk_[de]populated() are added to update chunk->populated, chunk->nr_populated and pcpu_nr_empty_pop_pages together. All successful chunk [de]populations should be followed by the corresponding pcpu_chunk_[de]populated() calls. Signed-off-by: Tejun Heo --- Reading git-diff-tree failed