Messages in this thread | | | Date | Mon, 25 Aug 2014 17:46:53 -0700 (PDT) | Subject | Re: [PATCH 1/3] percpu_counter: add @gfp to percpu_counter_init() | From | David Miller <> |
| |
From: Tejun Heo <tj@kernel.org> Date: Mon, 25 Aug 2014 20:43:30 -0400
> Percpu allocator now supports allocation mask. Add @gfp to > percpu_counter_init() so that !GFP_KERNEL allocation masks can be used > with percpu_counters too. > > We could have left percpu_counter_init() alone and added > percpu_counter_init_gfp(); however, the number of users isn't that > high and introducing _gfp variants to all percpu data structures would > be quite ugly, so let's just do the conversion. This is the one with > the most users. Other percpu data structures are a lot easier to > convert. > > This patch doesn't make any functional difference. > > Signed-off-by: Tejun Heo <tj@kernel.org>
For networking bits:
Acked-by: David S. Miller <davem@davemloft.net>
| |