Re: [patch] mm, memcg: periodically schedule when emptying page list

From: Hugh Dickins
Date: Mon Jun 02 2014 - 20:03:15 EST


On Mon, 2 Jun 2014, David Rientjes wrote:
> On Mon, 2 Jun 2014, Hugh Dickins wrote:
>
> > Why not just move that cond_resched() down below the if/else?
> > No need to test need_resched() separately, and this page is not busy.
> >
>
> Would you like to propose your version from our kernel instead?

If that's how you prefer to work it, sure. The patch would indeed
look uncannily like what I put in our kernel a week ago; but I think
the description might owe a lot to you! I'll get to it later, while
secretly hoping you get to it sooner :)

Hugh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/