From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] KVM: Convert PIC lock from raw spinlock to ordinary spinlock Date: Mon, 20 Sep 2010 15:09:22 -0300 Message-ID: <20100920180922.GB27404@amt.cnet> References: <1284914647-16551-1-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, tglx@redhat.com To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:12576 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754935Ab0ITTLS (ORCPT ); Mon, 20 Sep 2010 15:11:18 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o8KJBIFp003836 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 20 Sep 2010 15:11:18 -0400 Content-Disposition: inline In-Reply-To: <1284914647-16551-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Sep 19, 2010 at 06:44:07PM +0200, Avi Kivity wrote: > The PIC code used to be called from preempt_disable() context, which > wasn't very good for PREEMPT_RT. That is no longer the case, so move > back from raw_spinlock_t to spinlock_t. > > Signed-off-by: Avi Kivity > --- > arch/x86/kvm/i8259.c | 6 +++--- > arch/x86/kvm/irq.h | 2 +- > arch/x86/kvm/x86.c | 8 ++++---- > 3 files changed, 8 insertions(+), 8 deletions(-) Applied, thanks.