lkml.org 
[lkml]   [2015]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: build failure after merge of the akpm-current tree
Hi Michal, Vladimir,

On Mon, 21 Sep 2015 09:58:53 +0200 Michal Hocko <mhocko@kernel.org> wrote:
>
> AFAIU your fix is correct but using
> cgroup_subsys_on_dfl(memory_cgrp_subsys) is more appropriate:
> diff --git a/mm/vmscan.c b/mm/vmscan.c
> index d62924ee8022..c3df03add73e 100644
> --- a/mm/vmscan.c
> +++ b/mm/vmscan.c
> @@ -176,7 +176,7 @@ static bool sane_reclaim(struct scan_control *sc)
> if (!memcg)
> return true;
> #ifdef CONFIG_CGROUP_WRITEBACK
> - if (cgroup_on_dfl(memcg->css.cgroup))
> + if (cgroup_subsys_on_dfl(memory_cgrp_subsys))
> return true;
> #endif
> return false;

Thanks, I will do that from tomorrow.

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au


\
 
 \ /
  Last update: 2015-09-21 12:41    [W:0.041 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site