Re: [BUG] mm, thp: khugepaged can't allocate on requested node when confined to a cpuset

From: Peter Zijlstra
Date: Tue Oct 21 2014 - 06:18:01 EST


On Tue, Oct 14, 2014 at 08:38:37PM +0300, Kirill A. Shutemov wrote:
> On Tue, Oct 14, 2014 at 04:54:35PM +0200, Peter Zijlstra wrote:
> > > Is there a reason why we should respect cpuset limitation for kernel
> > > threads?
> >
> > Yes, because we want to allow isolating CPUs from 'random' activity.
>
> Okay, it makes sense for cpus_allowed. But we're talking about
> mems_allowed, right?
>
> >
> > > Should we bypass cpuset for PF_KTHREAD completely?
> >
> > No. That'll break stuff.
>
> Like what?

Like using cpusets for what they were designed for? We very much want to
allow moving kernel threads into limited cpusets in order to avoid
perturbing the 'important' work done elsewhere.
--
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/