percpu: speed alloc_pcpu_area() up
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 7 Mar 2014 01:52:32 +0000 (20:52 -0500)
committerTejun Heo <tj@kernel.org>
Fri, 7 Mar 2014 12:52:26 +0000 (07:52 -0500)
If we know that first N areas are all in use, we can obviously skip
them when searching for a free one.  And that kind of hint is very
easy to maintain.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Tejun Heo <tj@kernel.org>
mm/percpu.c

diff --cc mm/percpu.c
Simple merge