summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.modbuiltin
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-09-02 14:46:01 -0400
committerTejun Heo <tj@kernel.org>2014-09-02 14:46:01 -0400
commitfbbb7f4e149f6dd19a8dbebc9fa5c5b72173c6de (patch)
treeee7783159a8faaec07c66c42e20ae5833e2c897c /scripts/Makefile.modbuiltin
parent3189eddbcafcc4d827f7f19facbeddec4424eba8 (diff)
downloadop-kernel-dev-fbbb7f4e149f6dd19a8dbebc9fa5c5b72173c6de.zip
op-kernel-dev-fbbb7f4e149f6dd19a8dbebc9fa5c5b72173c6de.tar.gz
percpu: remove the usage of separate populated bitmap in percpu-vm
percpu-vm uses pcpu_get_pages_and_bitmap() to acquire temp pages array and populated bitmap and uses the two during [de]population. The temp bitmap is used only to build the new bitmap that is copied to chunk->populated after the operation succeeds; however, the new bitmap can be trivially set after success without using the temp bitmap. This patch removes the temp populated bitmap usage from percpu-vm.c. * pcpu_get_pages_and_bitmap() is renamed to pcpu_get_pages() and no longer hands out the temp bitmap. * @populated arugment is dropped from all the related functions. @populated updates in pcpu_[un]map_pages() are dropped. * Two loops in pcpu_map_pages() are merged. * pcpu_[de]populated_chunk() modify chunk->populated bitmap directly from @page_start and @page_end after success. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Christoph Lameter <cl@linux.com>
Diffstat (limited to 'scripts/Makefile.modbuiltin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud