From: zhefu jiang Subject: How can I map a foreign mfn when I'm in a workqueue? Date: Sat, 31 Oct 2009 21:43:08 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0378330358==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0378330358== Content-Type: multipart/alternative; boundary=0016e64b96e2278bc804773b5305 --0016e64b96e2278bc804773b5305 Content-Type: text/plain; charset=ISO-8859-1 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? --0016e64b96e2278bc804773b5305 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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:
=A0
Unable to handle kernel paging request at xxxxxx...
=A0
Does anyone have some idea about it?
--0016e64b96e2278bc804773b5305-- --===============0378330358== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0378330358==--