From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH][PVFB][LINUX] Fix possible sleep while holding spinlock Date: Fri, 15 Dec 2006 18:06:13 +0000 Message-ID: References: <87zm9pt8qm.fsf@pike.pond.sub.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <87zm9pt8qm.fsf@pike.pond.sub.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Markus Armbruster , Keir Fraser Cc: Atsushi SAKAI , xen-devel@lists.xensource.com, xen-ia64-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 15/12/06 16:38, "Markus Armbruster" 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