Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932572AbWLMAAg (ORCPT ); Tue, 12 Dec 2006 19:00:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932571AbWLMAAg (ORCPT ); Tue, 12 Dec 2006 19:00:36 -0500 Received: from liaag1ab.mx.compuserve.com ([149.174.40.28]:41113 "EHLO liaag1ab.mx.compuserve.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932572AbWLMAAf (ORCPT ); Tue, 12 Dec 2006 19:00:35 -0500 Date: Tue, 12 Dec 2006 18:49:57 -0500 From: Chuck Ebbert <76306.1226@compuserve.com> Subject: Re: [PATCH 2/5] Paravirt cpu batching.patch To: Chris Wright Cc: Linux Kernel Mailing List , Virtualization Mailing List , Jeremy Fitzhardinge , Andrew Morton , Andi Kleen Message-ID: <200612121853_MC3-1-D4D2-191A@compuserve.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1002 Lines: 29 In-Reply-To: <20061212225430.GC10475@sequoia.sous-sol.org> On Tue, 12 Dec 2006 14:54:30 -0800, Chros Wright wrote: > > --- a/arch/i386/kernel/process.c Tue Dec 12 13:50:50 2006 -0800 > > +++ b/arch/i386/kernel/process.c Tue Dec 12 13:50:53 2006 -0800 > > @@ -665,6 +665,37 @@ struct task_struct fastcall * __switch_t > > load_TLS(next, cpu); > > > > /* > > + * Restore IOPL if needed. > > + */ > > + if (unlikely(prev->iopl != next->iopl)) > > + set_iopl_mask(next->iopl); > > Small sidenote that this bit undoes a recent change from Chuck Ebbert, which > killed iopl_mask update via hypervisor. This whole thing needs a proper fix IMO. I posted something a while back but Andi didn't like it, I guess. -- MBTI: IXTP - 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/