WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 1/2] blktap: Various fixes blktap_clear_pte().

To: "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/2] blktap: Various fixes blktap_clear_pte().
From: "Geoffrey Lefebvre" <geoffrey@xxxxxxxxx>
Date: Mon, 4 Jun 2007 17:28:46 -0700
Cc: Jake Wires <Jake.Wires@xxxxxxxxxxxxx>, andy <andrew.warfield@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
Delivery-date: Mon, 04 Jun 2007 17:26:56 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=TJoGbu+BTDpbi8hdVyFMyIVGk+U8CHejIWz/qIiTNWeBuX2FpwmeqOfGockGVrE2/NzsqE74BpfBa737Os9e3vffgnLaEgJfgSRV8tuLkRXcl+rqJn6kPra5CfoNhqqmt0nWIyQPykYmetZ4IajyMSdYLa043wKdooDxomCJ29Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=QMjhg0y014LNNRnNREz83bKGBBTz+vzOA0mKV5hIIZzvMsv69y8N/hcyMBsfIAq7StdfKs/znsZLv/DJJpUzp7HAYQ8GQ+sxbJN6HNZz3//Ctk4gqMk5xI+94D73seABH7zdjOiOub6fMY9iBJhM+3vhopzODp12HQu7Ho5N2Y4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070602001927.GA27424%yamahata@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20070602001927.GA27424%yamahata@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Here is an updated version of the patch. It's similar to the original
except that I moved the lookup for the blktap info struct after the
check for vma->vm_file. The reason is that the mmap code sets vm_file
to NULL on failure.

cheers

geoffrey


On 6/1/07, Isaku Yamahata <yamahata@xxxxxxxxxxxxx> wrote:
Various fixes blktap_clear_pte().
added pte_get_and_clear_full() for auto translated physmap mode.
added pte_get_and_clear_full() for io ring page.
fix index calculation of map[].
This function is always called so that removed warning.

--
yamahata

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel



Attachment: clear_pte_hook_update.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>