Re: [PATCH 1/3] percpu_counter: add @gfp to percpu_counter_init()

From: David Miller
Date: Mon Aug 25 2014 - 20:46:58 EST

From: Tejun Heo <tj@xxxxxxxxxx>
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@xxxxxxxxxx>

For networking bits:

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at