|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Xen with dom0 pvops on ultra-recent "git tip"kernel on x
On 18/01/2009 21:28, "Christophe Saout" <christophe@xxxxxxxx> wrote:
> However, in direct_remap_pfn_range() the first two lines are:
>
> if (xen_feature(XENFEAT_auto_translated_physmap))
> return remap_pfn_range(vma, address, mfn, size, prot);
>
> I guess this is not the case on my system / hypervisor?
You can ignore auto_translated_physmap. It's not a supported mode any more.
> There is some logic in the native Xen kernel which prevents a call to
> mm_unpin if there are "foreign mappings", i.e. set by
> direct_remap_pfn_range. What's up with that?
It's subtle. Whether it is needed depends on whether the pv_ops kernel
detects mappings of non-reference-counted memory by putting a flag in the
relevant PTEs, or by the more subtle means used in our 2.6.18 kernel (see
include/asm-i386/mach-xen/asm/maddr.h:mfn_to_local_pfn() and the comment
above it). In the former case the flag would not be needed, and I think that
is what Jeremy implemented.
The flag would possibly still be needed for grant mappings in user space
though (i.e., mappings made via the gntdev device driver, or by the blktap
device driver).
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] Xen with dom0 pvops on ultra-recent "git tip" kernel on x86_64, (continued)
- Re: [Xen-devel] Xen with dom0 pvops on ultra-recent "git tip" kernel on x86_64, Christophe Saout
- Re: [Xen-devel] Xen with dom0 pvops on ultra-recent "git tip" kernel on x86_64, Christophe Saout
- Re: [Xen-devel] Xen with dom0 pvops on ultra-recent "git tip" kernel on x86_64, Christophe Saout
- Re: [Xen-devel] Xen with dom0 pvops on ultra-recent "git tip"kernel on x86_64,
Keir Fraser <=
- Re: [Xen-devel] Xen with dom0 pvops on ultra-recent "git tip"kernel on x86_64, Christophe Saout
- Re: [Xen-devel] Xen with dom0 pvops on ultra-recent "git tip"kernel on x86_64, Christophe Saout
- Re: [Xen-devel] Xen with dom0 pvops on ultra-recent "git tip" kernel on x86_64, Jeremy Fitzhardinge
- Re: [Xen-devel] Xen with dom0 pvops on ultra-recent "git tip" kernel on x86_64, Pasi Kärkkäinen
- Re: [Xen-devel] Xen with dom0 pvops on ultra-recent "git tip" kernel on x86_64, Andrew Lyon
- Re: [Xen-devel] Xen with dom0 pvops on ultra-recent "git tip" kernel on x86_64, Adam Wendt
- Re: [Xen-devel] Xen with dom0 pvops on ultra-recent "git tip" kernel on x86_64, Pasi Kärkkäinen
- Re: [Xen-devel] Xen with dom0 pvops on ultra-recent "git tip" kernel on x86_64, Jeremy Fitzhardinge
- Re: [Xen-devel] Xen with dom0 pvops on ultra-recent "git tip" kernel on x86_64, Pasi Kärkkäinen
- Re: [Xen-devel] Xen with dom0 pvops on ultra-recent "git tip" kernel on x86_64, Marc - A. Dahlhaus
|
|
|
|
|