From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [Xen-devel] [PATCH] xen: privcmd: schedule() after private hypercall when non CONFIG_PREEMPT Date: Tue, 2 Dec 2014 11:11:18 +0000 Message-ID: <547D9E56.50708@citrix.com> References: <1417040805-15857-1-git-send-email-mcgrof@do-not-panic.com> <5476C66F.5040308@suse.com> <20141127183616.GV25677@wotan.suse.de> <547C4CEF.1010603@citrix.com> <20141201150546.GC25677@wotan.suse.de> <547C86BF.2040705@citrix.com> <547C8F30.1010306@citrix.com> <20141201161905.GH25677@wotan.suse.de> <547CB07C.1050507@citrix.com> <20141201223611.GM25677@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit Cc: Juergen Gross , Joerg Roedel , , Davidlohr Bueso , Peter Zijlstra , , Oleg Nesterov , "linux-kernel@vger.kernel.org" , Jan Beulich , , , Borislav Petkov , Olaf Hering , Ingo Molnar To: "Luis R. Rodriguez" , David Vrabel Return-path: In-Reply-To: <20141201223611.GM25677@wotan.suse.de> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 01/12/14 22:36, Luis R. Rodriguez wrote: > > Then I do agree its a fair analogy (and find this obviously odd that how > widespread cond_resched() is), we just don't have an equivalent for IRQ > context, why not avoid the special check then and use this all the time in the > middle of a hypercall on the return from an interrupt (e.g., the timer > interrupt)? http://lists.xen.org/archives/html/xen-devel/2014-02/msg01101.html David