Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966983Ab2EOVYZ (ORCPT ); Tue, 15 May 2012 17:24:25 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:64131 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966928Ab2EOVYW (ORCPT ); Tue, 15 May 2012 17:24:22 -0400 Date: Tue, 15 May 2012 14:24:15 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Peter Zijlstra cc: Nishanth Aravamudan , "Srivatsa S. Bhat" , 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 Subject: Re: [PATCH v3 5/5] cpusets, suspend: Save and restore cpusets during suspend/resume In-Reply-To: <1337116107.27694.114.camel@twins> Message-ID: 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> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 767 Lines: 17 On Tue, 15 May 2012, Peter Zijlstra wrote: > > Why can't we leave cpuset.cpus unaltered for all cpusets during suspend? > > We can, that's what Srivatsa is going to make. The only thing I object > to is the !suspend hotplug case. > Srivatsa is going to do that in another patchset in addition to this one? We shouldn't need to store any old cpumask at all, just allow cpuset.cpus to be a superset of online cpus during s/r and don't touch cpusets at all since the cpus, as you said, are guaranteed to come back. -- 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/