From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: How can I map a foreign mfn when I'm in a workqueue? Date: Mon, 02 Nov 2009 12:50:25 -0800 Message-ID: <4AEF4611.9080706@goop.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: zhefu jiang Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 10/31/09 06:43, zhefu jiang wrote: > I use alloc_vm_area/direct_kernel_remap_pfn_range/unmap_vm_area to map > a foreign pfn into dom0's kernel address space, all goes well with the > exception that when I use them in a workqueue, dom0's kernel fails to > map the page and gives me these error messages: > > Unable to handle kernel paging request at xxxxxx... > > Does anyone have some idea about it? You haven't posted enough detail for anyone to be able to help you. J