From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH 0/4] i386 - pte update optimizations Date: Thu, 12 Apr 2007 18:25:05 -0700 Message-ID: <461EDBF1.4080904@zytor.com> References: <200704120530.l3C5UGbv022814@zach-dev.vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <200704120530.l3C5UGbv022814@zach-dev.vmware.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Zachary Amsden Cc: Andrew Morton , Andi Kleen , Virtualization Mailing List , Chris Wright , David Rientjes , Hugh Dickins , Linux Kernel Mailing List List-Id: virtualization@lists.linuxfoundation.org Zachary Amsden wrote: > Some PTE optimizations for native and paravirt-ops kernels; this > provides a huge win for shadow mode hypervisors and gets rid of > some unnecessary atomic instructions in native kernels, saving > even more on UP by getting rid of implicit LOCK on xchg instruction. You do know that P6 and higher don't do locked bus references as long as = the value is in the cache, right? -hpa From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752808AbXDMB0b (ORCPT ); Thu, 12 Apr 2007 21:26:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752841AbXDMB0b (ORCPT ); Thu, 12 Apr 2007 21:26:31 -0400 Received: from terminus.zytor.com ([192.83.249.54]:48142 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752808AbXDMB0a (ORCPT ); Thu, 12 Apr 2007 21:26:30 -0400 Message-ID: <461EDBF1.4080904@zytor.com> Date: Thu, 12 Apr 2007 18:25:05 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: Zachary Amsden CC: Andrew Morton , Andi Kleen , Jeremy Fitzhardinge , Rusty Russell , Chris Wright , Hugh Dickins , David Rientjes , Michel Lespinasse , Virtualization Mailing List , Linux Kernel Mailing List Subject: Re: [PATCH 0/4] i386 - pte update optimizations References: <200704120530.l3C5UGbv022814@zach-dev.vmware.com> In-Reply-To: <200704120530.l3C5UGbv022814@zach-dev.vmware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Zachary Amsden wrote: > Some PTE optimizations for native and paravirt-ops kernels; this > provides a huge win for shadow mode hypervisors and gets rid of > some unnecessary atomic instructions in native kernels, saving > even more on UP by getting rid of implicit LOCK on xchg instruction. You do know that P6 and higher don't do locked bus references as long as the value is in the cache, right? -hpa