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

[Xen-devel] How can I map a foreign mfn when I'm in a workqueue?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] How can I map a foreign mfn when I'm in a workqueue?
From: zhefu jiang <guokeno0@xxxxxxxxx>
Date: Sat, 31 Oct 2009 21:43:08 +0800
Delivery-date: Sat, 31 Oct 2009 06:43:37 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=d7QKmucUi2oxp/B5GY7Fnln9hiHtyoB1HqLUDbzjg7I=; b=XU72vBDXY4soDPZFcwACWVC2Il47PdwxXemNre3ySVzc1mEqcSsEF3MqthHziTbXuf dOH6nXP2LFKYMThmxqT6KwNU3KUQUhaoRt/XVO/w+IX4hjtcnXD2LiWDnKCovatVsIpH O2/pa/Vf7NQHkVKh3Ui+fVXLc3nVQEI74VSko=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=rsZhoI885kLemNPo95+tBF8dqSartlShwkZVjve3q+9584fWg80CN18JFiZ95GJiIE dEckO3LlqBO+nH8Fj63Ro5XM7c8O8qhWjBHdYQKVBoc0R2dMGDhQbzdPfSsdeUdR/tHk a5XFoWaMgWhSLgHX5HBCxvU0A8A/CZVD4mahM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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?
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] How can I map a foreign mfn when I'm in a workqueue?, zhefu jiang <=