Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932230AbaJUKR7 (ORCPT ); Tue, 21 Oct 2014 06:17:59 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:46051 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754800AbaJUKR5 (ORCPT ); Tue, 21 Oct 2014 06:17:57 -0400 Date: Tue, 21 Oct 2014 12:17:42 +0200 From: Peter Zijlstra To: "Kirill A. Shutemov" Cc: Alex Thorlton , linux-kernel@vger.kernel.org, Andrew Morton , Mel Gorman , Rik van Riel , Ingo Molnar , "Kirill A. Shutemov" , Hugh Dickins , Bob Liu , Johannes Weiner , linux-mm@kvack.org Subject: Re: [BUG] mm, thp: khugepaged can't allocate on requested node when confined to a cpuset Message-ID: <20141021101742.GT23531@worktop.programming.kicks-ass.net> References: <20141008191050.GK3778@sgi.com> <20141014114828.GA6524@node.dhcp.inet.fi> <20141014145435.GA7369@worktop.fdxtended.com> <20141014173837.GA8919@node.dhcp.inet.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141014173837.GA8919@node.dhcp.inet.fi> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/