From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: [PATCH v2] Fix scheduler crash after s3 resume Date: Thu, 24 Jan 2013 15:57:24 +0000 Message-ID: <510159E4.8080203@eu.citrix.com> References: <5100070F.7010808@citrix.com> <5100D229.4030906@ts.fujitsu.com> <510144A3.9060302@citrix.com> <5101630D02000078000B93AD@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5101630D02000078000B93AD@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Tomasz Wroblewski , Juergen Gross , "Keir (Xen.org)" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On 24/01/13 15:36, Jan Beulich wrote: >>>> On 24.01.13 at 15:26, Tomasz Wroblewski wrote: >> @@ -212,6 +213,8 @@ >> BUG_ON(error == -EBUSY); >> printk("Error taking CPU%d up: %d\n", cpu, error); >> } >> + if (system_state == SYS_STATE_resume) >> + cpumask_set_cpu(cpu, cpupool0->cpu_valid); > This can't be right: What tells you that all CPUs were in pool 0? > > Also, for the future - generating patches with -p helps quite > a bit in reviewing them. If you're using mercurial e-mail / mercurial queues, you can get this effect by adding the following lines to your ~/.hgrc: [diff] showfunc = True nodates = 1 git = 1 -George