Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753124AbbDFRrm (ORCPT ); Mon, 6 Apr 2015 13:47:42 -0400 Received: from mail-qk0-f179.google.com ([209.85.220.179]:35366 "EHLO mail-qk0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751829AbbDFRrk (ORCPT ); Mon, 6 Apr 2015 13:47:40 -0400 Date: Mon, 6 Apr 2015 13:47:35 -0400 From: Tejun Heo To: Preeti U Murthy Cc: Peter Zijlstra , lizefan@huawei.com, anton@samba.org, svaidy@linux.vnet.ibm.com, rjw@rjwysocki.net, paulmck@linux.vnet.ibm.com, mingo@kernel.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, bharata@linux.vnet.ibm.com Subject: Re: [PATCH] cpusets: Make cpus_allowed and mems_allowed masks hotplug invariant Message-ID: <20150406174735.GG10582@htj.duckdns.org> References: <20141008070739.1170.33313.stgit@preeti.in.ibm.com> <20141008080706.GC10832@worktop.programming.kicks-ass.net> <543505EF.7070804@linux.vnet.ibm.com> <20141008101828.GG10832@worktop.programming.kicks-ass.net> <54364564.3090305@linux.vnet.ibm.com> <20141009130611.GA14387@htj.dyndns.org> <551CE820.9090900@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <551CE820.9090900@linux.vnet.ibm.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1362 Lines: 31 Hello, Preeti. On Thu, Apr 02, 2015 at 12:26:32PM +0530, Preeti U Murthy wrote: > By ensuring that the user configured cpusets are untouched, I don't see > how we affect userspace adversely. The expectation usually is that the > kernel keeps track of the user configurations. If anything we would be > fixing an undesired behavior, wouldn't we? The problem is not really about which behavior is "righter" but rather it's fairly likely that there are users / tools out there expecting the current behavior and they wouldn't be too happy to see the behavior flipping underneath them. One way forward would be implementing a knob in cpuset which makes it switch sbetween the old and new behaviors in the legacy hierarchy. It's yucky but doable if absoluately necessary, but what's the reason for you not being able to transition to the unified hierarchy (except for it being under the devel flag but I'm really taking that devel mask out in the next merge window)? The default hierarchy can happily co-exist with legacy hierarchies so you can just move over the cpuset part to it if you need it. Thanks. -- tejun -- 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/