diff options
author | Tejun Heo <tj@kernel.org> | 2014-09-02 20:46:01 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-09-02 20:46:01 +0200 |
commit | cdb4cba5a3c9fa27240d04f4f8dad316b10d995b (patch) | |
tree | 6238aeb94660eda94e9bb37f227a6531bb4a8e22 /kernel/exec_domain.c | |
parent | percpu: remove the usage of separate populated bitmap in percpu-vm (diff) | |
download | linux-cdb4cba5a3c9fa27240d04f4f8dad316b10d995b.tar.xz linux-cdb4cba5a3c9fa27240d04f4f8dad316b10d995b.zip |
percpu: remove @may_alloc from pcpu_get_pages()
pcpu_get_pages() creates the temp pages array if not already allocated
and returns the pointer to it. As the function is called from both
[de]population paths and depopulation can only happen after at least
one successful population, the param doesn't make any difference - the
allocation will always happen on the population path anyway.
Remove @may_alloc from pcpu_get_pages(). Also, add an lockdep
assertion pcpu_alloc_mutex instead of vaguely stating that the
exclusion is the caller's responsibility.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/exec_domain.c')
0 files changed, 0 insertions, 0 deletions