From: "Jan Beulich" Subject: Re: [PATCH] x86/S3: Fix cpu pool scheduling after suspend/resume Date: Wed, 10 Apr 2013 09:56:20 +0100 Message-ID: <5165455402000078000CBFD8@nat28.tlf.novell.com> References: <1365511601-31522-1-git-send-email-benjamin.guthro@citrix.com> <5164101E.6010907@ts.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ben Guthro , George Dunlap Cc: Juergen Gross , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org >>> On 09.04.13 at 17:30, George Dunlap wrote: > Looking at this patch -- it looks like the sched-state patch makes it > so that the scheduler cpu initialization stuff is not called on resume > -- e.g., tick_resume. Am I reading that correctly? That could be > part of the problem... ISTR having mentioned this issue as a possible part of the resume problems. The only missing piece for me is that tick_suspend doesn't get called during suspend either (i.e. the only problem ought to be that the tick may get delivered prematurely, which is what led me to suggest to suppress full softirq handling from rcu_barrier_action() when resuming, or perhaps more generically for all callers, i.e. in process_pending_softirqs() itself). And we need to not forget that tick_suspend()/tick_resume() are meant to be used by the idle management code only at present, so using it for another purpose could have other issues. Jan