Re: [PATCH 09/13] mm: memcontrol: generalize the socket accounting jump label

2015-11-30 Thread Johannes Weiner
On Mon, Nov 30, 2015 at 05:28:49PM -0500, Jason Baron wrote: > On 11/30/2015 04:50 PM, Johannes Weiner wrote: > > On Mon, Nov 30, 2015 at 04:08:18PM -0500, Jason Baron wrote: > >> We're trying to move to the updated API, so this should be: > >> static_branch_unlikely(&memcg_sockets_enabled_key) > >

Re: [PATCH 09/13] mm: memcontrol: generalize the socket accounting jump label

2015-11-30 Thread Jason Baron
On 11/30/2015 04:50 PM, Johannes Weiner wrote: > On Mon, Nov 30, 2015 at 04:08:18PM -0500, Jason Baron wrote: >> We're trying to move to the updated API, so this should be: >> static_branch_unlikely(&memcg_sockets_enabled_key) >> >> see: include/linux/jump_label.h for details. > > Good point. Ther

Re: [PATCH 09/13] mm: memcontrol: generalize the socket accounting jump label

2015-11-30 Thread Johannes Weiner
On Mon, Nov 30, 2015 at 04:08:18PM -0500, Jason Baron wrote: > We're trying to move to the updated API, so this should be: > static_branch_unlikely(&memcg_sockets_enabled_key) > > see: include/linux/jump_label.h for details. Good point. There is another struct static_key in there as well. How abo

Re: [PATCH 09/13] mm: memcontrol: generalize the socket accounting jump label

2015-11-30 Thread Jason Baron
Hi, On 11/24/2015 04:52 PM, Johannes Weiner wrote: > The unified hierarchy memory controller is going to use this jump > label as well to control the networking callbacks. Move it to the > memory controller code and give it a more generic name. > > Signed-off-by: Johannes Weiner > Acked-by: Mich

Re: [PATCH 09/13] mm: memcontrol: generalize the socket accounting jump label

2015-11-25 Thread David Miller
From: Johannes Weiner Date: Tue, 24 Nov 2015 16:52:01 -0500 > The unified hierarchy memory controller is going to use this jump > label as well to control the networking callbacks. Move it to the > memory controller code and give it a more generic name. > > Signed-off-by: Johannes Weiner > Acke

[PATCH 09/13] mm: memcontrol: generalize the socket accounting jump label

2015-11-24 Thread Johannes Weiner
The unified hierarchy memory controller is going to use this jump label as well to control the networking callbacks. Move it to the memory controller code and give it a more generic name. Signed-off-by: Johannes Weiner Acked-by: Michal Hocko Reviewed-by: Vladimir Davydov --- include/linux/memc