[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140825.174653.1190425703684375530.davem@davemloft.net>
Date: Mon, 25 Aug 2014 17:46:53 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tj@...nel.org
Cc: linux-kernel@...r.kernel.org, cl@...ux-foundation.org,
x86@...nel.org, axboe@...nel.dk, jack@...e.cz, tytso@....edu,
viro@...iv.linux.org.uk, akpm@...ux-foundation.org
Subject: Re: [PATCH 1/3] percpu_counter: add @gfp to percpu_counter_init()
From: Tejun Heo <tj@...nel.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@...nel.org>
For networking bits:
Acked-by: David S. Miller <davem@...emloft.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists