Tejun Heo a16037c8df 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>
2014-09-02 14:46:02 -04:00
..
2014-08-06 18:01:16 -07:00
2014-08-06 18:01:16 -07:00
2014-08-06 18:01:23 -07:00
2014-08-08 15:57:17 -07:00
2014-01-27 21:02:39 -08:00
2014-09-02 14:46:02 -04:00
2014-08-08 15:57:17 -07:00
2014-08-08 15:57:17 -07:00
2014-08-06 18:01:23 -07:00