Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758763Ab2EPVYa (ORCPT ); Wed, 16 May 2012 17:24:30 -0400 Received: from merlin.infradead.org ([205.233.59.134]:51100 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753244Ab2EPVY3 convert rfc822-to-8bit (ORCPT ); Wed, 16 May 2012 17:24:29 -0400 Message-ID: <1337203449.4281.15.camel@twins> Subject: Re: [PATCH v3 5/5] cpusets, suspend: Save and restore cpusets during suspend/resume From: Peter Zijlstra To: "Srivatsa S. Bhat" Cc: David Rientjes , Nishanth Aravamudan , mingo@kernel.org, pjt@google.com, paul@paulmenage.org, akpm@linux-foundation.org, rjw@sisk.pl, nacc@us.ibm.com, paulmck@linux.vnet.ibm.com, tglx@linutronix.de, seto.hidetoshi@jp.fujitsu.com, tj@kernel.org, mschmidt@redhat.com, berrange@redhat.com, nikunj@linux.vnet.ibm.com, vatsa@linux.vnet.ibm.com, liuj97@gmail.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Date: Wed, 16 May 2012 23:24:09 +0200 In-Reply-To: <4FB2D5CB.6090209@linux.vnet.ibm.com> References: <20120513231325.3566.37740.stgit@srivatsabhat> <20120513231710.3566.45349.stgit@srivatsabhat> <20120515014042.GA9774@linux.vnet.ibm.com> <20120515044539.GA25256@linux.vnet.ibm.com> <1337112653.27694.110.camel@twins> <1337116107.27694.114.camel@twins> <4FB2CDAD.4020306@linux.vnet.ibm.com> <4FB2D5CB.6090209@linux.vnet.ibm.com> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 936 Lines: 18 On Wed, 2012-05-16 at 03:46 +0530, Srivatsa S. Bhat wrote: > > However, the cpu_active_mask was introduced to handle situations where hotplug > transition is still in progress, and the scheduler needs to take appropriate > decisions even with some of its data-structures in an inconsistent/stale state. > But once the hotplug operation is completed, the scheduler doesn't need to > depend on cpu_active_mask. > (And on those lines, making the scheduler work correctly even in such cases > is only a good-to-have as a robustness measure and not a "bugfix".) I think those 2(?) cases you found not covered by active mask could actually happen during a hotplug. So far they simply haven't. -- 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/