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][PVFB][LINUX] Fix possible sleep while holding sp

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][PVFB][LINUX] Fix possible sleep while holding spinlock
From: Markus Armbruster <armbru@xxxxxxxxxx>
Date: Fri, 15 Dec 2006 19:35:37 +0100
Cc: Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 15 Dec 2006 10:35:33 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1A89495.6290%keir@xxxxxxxxxxxxx> (Keir Fraser's message of "Fri, 15 Dec 2006 18:06:13 +0000")
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: <C1A89495.6290%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
Keir Fraser <keir@xxxxxxxxxxxxx> writes:

> On 15/12/06 16:38, "Markus Armbruster" <armbru@xxxxxxxxxx> wrote:
>
>> This patch fixes the locking, but leaves open a race between
>> xenfb_update_screen() and do_no_page().  See the source code for a
>> detailed explanation of how it works, and where it fails.
>
> That's a bit of a shame. Is there any way we could use do_file_page() and
> have a populate hook (which gets to install the PTE itself)? Or are there
> lots of assumptions about VMAs that would take this path, assert
> VM_NONLINEAR, etc?
>
>  -- Keir

My colleages and I suspect we need a deep think about the problem.
But right now we can't spare the time for that.

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