summaryrefslogtreecommitdiffstats
path: root/mm/percpu-stats.c
diff options
context:
space:
mode:
authorDennis Zhou (Facebook)2017-07-25 01:02:01 +0200
committerTejun Heo2017-07-26 16:23:52 +0200
commitb9c39442ceffb202b98a88d492347eae125c5ba2 (patch)
tree4d76780f72dcbaa017b7245c2dde295533670907 /mm/percpu-stats.c
parentpercpu: remove has_reserved from pcpu_chunk (diff)
downloadkernel-qcow2-linux-b9c39442ceffb202b98a88d492347eae125c5ba2.tar.gz
kernel-qcow2-linux-b9c39442ceffb202b98a88d492347eae125c5ba2.tar.xz
kernel-qcow2-linux-b9c39442ceffb202b98a88d492347eae125c5ba2.zip
percpu: setup_first_chunk remove dyn_size and consolidate logic
There is logic for setting variables in the static chunk init code that could be consolidated with the dynamic chunk init code. This combines this logic to setup for combining the allocation paths. reserved_size is used as the conditional as a dynamic region will always exist. Signed-off-by: Dennis Zhou <dennisszhou@gmail.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'mm/percpu-stats.c')
0 files changed, 0 insertions, 0 deletions