Re: [RESEND] [PATCH v1 1/3] Add basic infrastructure for memcg hotplug support

2016-11-21 Thread Vladimir Davydov
On Thu, Nov 17, 2016 at 11:28:12AM +1100, Balbir Singh wrote: > >> @@ -5773,6 +5771,59 @@ static int __init cgroup_memory(char *s) > >> } > >> __setup("cgroup.memory=", cgroup_memory); > >> > >> +static void memcg_node_offline(int node) > >> +{ > >> + struct mem_cgroup *memcg; > >> + > >> + i

Re: [RESEND] [PATCH v1 1/3] Add basic infrastructure for memcg hotplug support

2016-11-16 Thread Vladimir Davydov
line. > > Cc: Tejun Heo > Cc: Andrew Morton > Cc: Johannes Weiner > Cc: Michal Hocko > Cc: Vladimir Davydov > > Signed-off-by: Balbir Singh > --- > mm/memcontrol.c | 68 > ++--- > 1 file changed, 60 in

Re: [PATCH V2 1/2] mm: Replace nr_node_ids for loop with for_each_node in list lru

2015-09-15 Thread Vladimir Davydov
gt; [ Take memcg_aware check outside for_each loop: Vldimir] > Signed-off-by: Raghavendra K T Reviewed-by: Vladimir Davydov ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 1/2] mm: Replace nr_node_ids for loop with for_each_node in list lru

2015-09-14 Thread Vladimir Davydov
On Mon, Sep 14, 2015 at 06:35:59PM +0530, Raghavendra K T wrote: > On 09/14/2015 05:34 PM, Vladimir Davydov wrote: > >On Mon, Sep 14, 2015 at 05:09:31PM +0530, Raghavendra K T wrote: > >>On 09/14/2015 02:30 PM, Vladimir Davydov wrote: > >>>On Wed, Sep 09, 2015 at 12:

Re: [PATCH 1/2] mm: Replace nr_node_ids for loop with for_each_node in list lru

2015-09-14 Thread Vladimir Davydov
On Mon, Sep 14, 2015 at 05:09:31PM +0530, Raghavendra K T wrote: > On 09/14/2015 02:30 PM, Vladimir Davydov wrote: > >On Wed, Sep 09, 2015 at 12:01:46AM +0530, Raghavendra K T wrote: > >>The functions used in the patch are in slowpath, which gets called > >>whenever a

Re: [PATCH 1/2] mm: Replace nr_node_ids for loop with for_each_node in list lru

2015-09-14 Thread Vladimir Davydov
Hi, On Wed, Sep 09, 2015 at 12:01:46AM +0530, Raghavendra K T wrote: > The functions used in the patch are in slowpath, which gets called > whenever alloc_super is called during mounts. > > Though this should not make difference for the architectures with > sequential numa node ids, for the power