From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 7/9] Add VMRUN handler v3 Date: Sat, 27 Sep 2008 15:58:03 +0300 Message-ID: <48DE2DDB.1010302@redhat.com> References: <1221658886-14109-1-git-send-email-agraf@suse.de> <1221658886-14109-2-git-send-email-agraf@suse.de> <1221658886-14109-3-git-send-email-agraf@suse.de> <1221658886-14109-4-git-send-email-agraf@suse.de> <1221658886-14109-5-git-send-email-agraf@suse.de> <1221658886-14109-6-git-send-email-agraf@suse.de> <1221658886-14109-7-git-send-email-agraf@suse.de> <1221658886-14109-8-git-send-email-agraf@suse.de> <20080919155926.GR24392@amd.com> <319028FA-B559-44C0-BA7C-0A1AD96CDA52@suse.de> <20080925173746.GB27928@amd.com> <60483CCB-2721-4936-A041-7296F900CCE1@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Joerg Roedel , "kvm@vger.kernel.org" , "joro@8bytes.org" , "anthony@codemonkey.ws" To: Alexander Graf Return-path: Received: from mx2.redhat.com ([66.187.237.31]:55849 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752141AbYI0M6I (ORCPT ); Sat, 27 Sep 2008 08:58:08 -0400 In-Reply-To: <60483CCB-2721-4936-A041-7296F900CCE1@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: Alexander Graf wrote: > > Is copying one page really that expensive? Is there any accelerated > function available for that that copies it with SSE or so? :-) > 'rep movs' is supposed to be accelerated, doing cacheline-by-cacheline copies (at least on Intel). In any case the kernel memcpy() should pick the fastest method. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.