From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756854Ab0EXLB0 (ORCPT ); Mon, 24 May 2010 07:01:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14032 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756017Ab0EXLBZ (ORCPT ); Mon, 24 May 2010 07:01:25 -0400 Message-ID: <4BFA5C6B.5070403@redhat.com> Date: Mon, 24 May 2010 14:00:59 +0300 From: Avi Kivity User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 MIME-Version: 1.0 To: "Michael S. Tsirkin" CC: Rusty Russell , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, kvm@vger.kernel.org, qemu-devel@nongnu.org Subject: Re: [Qemu-devel] [PATCH RFC] virtio: put last seen used index into ring itself References: <20100505205814.GA7090@redhat.com> <4BF39C12.7090407@redhat.com> <201005201431.51142.rusty@rustcorp.com.au> <201005201438.17010.rusty@rustcorp.com.au> <20100523153134.GA14646@redhat.com> <4BF94CAD.5010504@redhat.com> <20100523155132.GA14733@redhat.com> <4BF951BE.1010402@redhat.com> <20100523163039.GC14733@redhat.com> <4BFA1E91.8060706@redhat.com> <20100524080518.GA16115@redhat.com> In-Reply-To: <20100524080518.GA16115@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/24/2010 11:05 AM, Michael S. Tsirkin wrote: > > Okay, but why is lockunshare faster than unshare? > > No idea. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=60890 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGVPR-0008I8-0w for qemu-devel@nongnu.org; Mon, 24 May 2010 07:01:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGVPP-0001yX-0o for qemu-devel@nongnu.org; Mon, 24 May 2010 07:01:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47780) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGVPO-0001yR-PN for qemu-devel@nongnu.org; Mon, 24 May 2010 07:01:22 -0400 Message-ID: <4BFA5C6B.5070403@redhat.com> Date: Mon, 24 May 2010 14:00:59 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH RFC] virtio: put last seen used index into ring itself References: <20100505205814.GA7090@redhat.com> <4BF39C12.7090407@redhat.com> <201005201431.51142.rusty@rustcorp.com.au> <201005201438.17010.rusty@rustcorp.com.au> <20100523153134.GA14646@redhat.com> <4BF94CAD.5010504@redhat.com> <20100523155132.GA14733@redhat.com> <4BF951BE.1010402@redhat.com> <20100523163039.GC14733@redhat.com> <4BFA1E91.8060706@redhat.com> <20100524080518.GA16115@redhat.com> In-Reply-To: <20100524080518.GA16115@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org, Rusty Russell , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org On 05/24/2010 11:05 AM, Michael S. Tsirkin wrote: > > Okay, but why is lockunshare faster than unshare? > > No idea. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.