diff options
author | Tejun Heo <tj@kernel.org> | 2014-09-02 14:46:02 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-09-02 14:46:02 -0400 |
commit | a16037c8dfc2734c1a2c8e3ffd4766ed25f2a41d (patch) | |
tree | e3cf6de55397465346f73ecded1e7b4edda4950b /mm/kmemcheck.c | |
parent | b38d08f3181c5025a7ce84646494cc4748492a3b (diff) | |
download | blackbird-op-linux-a16037c8dfc2734c1a2c8e3ffd4766ed25f2a41d.tar.gz blackbird-op-linux-a16037c8dfc2734c1a2c8e3ffd4766ed25f2a41d.zip |
percpu: make pcpu_alloc_area() capable of allocating only from populated areas
Update pcpu_alloc_area() so that it can skip unpopulated areas if the
new parameter @pop_only is true. This is implemented by a new
function, pcpu_fit_in_area(), which determines the amount of head
padding considering the alignment and populated state.
@pop_only is currently always false but this will be used to implement
atomic allocation.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'mm/kmemcheck.c')
0 files changed, 0 insertions, 0 deletions