* Re: Pinning L1 page table with wrpt
2005-08-15 8:29 Pinning L1 page table with wrpt Jacob Gorm Hansen
@ 2005-08-15 8:29 ` Keir Fraser
2005-08-15 8:55 ` Jacob Gorm Hansen
0 siblings, 1 reply; 4+ messages in thread
From: Keir Fraser @ 2005-08-15 8:29 UTC (permalink / raw)
To: Jacob Gorm Hansen; +Cc: xen-devel
On 15 Aug 2005, at 09:29, Jacob Gorm Hansen wrote:
> it seems I no longer need to pin l1 pages when running with writable
> page tables in xen-unstable -- e.g. I can now pin a l2 table without
> having pinned its l1 descendants first, without Xen complaining. Do I
> understand things correctly?
Yes you do.
-- Keir
^ permalink raw reply [flat|nested] 4+ messages in thread
* Pinning L1 page table with wrpt
@ 2005-08-15 8:29 Jacob Gorm Hansen
2005-08-15 8:29 ` Keir Fraser
0 siblings, 1 reply; 4+ messages in thread
From: Jacob Gorm Hansen @ 2005-08-15 8:29 UTC (permalink / raw)
To: xen-devel
hi,
it seems I no longer need to pin l1 pages when running with writable
page tables in xen-unstable -- e.g. I can now pin a l2 table without
having pinned its l1 descendants first, without Xen complaining. Do I
understand things correctly?
thanks,
Jacob
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Pinning L1 page table with wrpt
2005-08-15 8:29 ` Keir Fraser
@ 2005-08-15 8:55 ` Jacob Gorm Hansen
2005-08-15 9:16 ` Keir Fraser
0 siblings, 1 reply; 4+ messages in thread
From: Jacob Gorm Hansen @ 2005-08-15 8:55 UTC (permalink / raw)
To: Keir Fraser; +Cc: xen-devel
Keir Fraser wrote:
>
> On 15 Aug 2005, at 09:29, Jacob Gorm Hansen wrote:
>
>> it seems I no longer need to pin l1 pages when running with writable
>> page tables in xen-unstable -- e.g. I can now pin a l2 table without
>> having pinned its l1 descendants first, without Xen complaining. Do I
>> understand things correctly?
>
>
> Yes you do.
And then Xen will pin them for me recursively, or they will not be
pinned at all but just checked against having writable references? I
seem to have a problem when combining writable pagetables and the
traditional pinned ones in the same domain. The pagetables I inherit
from the domain builder need to be unpinned before I can use the pages
they reference for my own page tables, or I get complaints about trying
to create a writable linear p.t.
thanks,
Jacob
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Pinning L1 page table with wrpt
2005-08-15 8:55 ` Jacob Gorm Hansen
@ 2005-08-15 9:16 ` Keir Fraser
0 siblings, 0 replies; 4+ messages in thread
From: Keir Fraser @ 2005-08-15 9:16 UTC (permalink / raw)
To: Jacob Gorm Hansen; +Cc: xen-devel
On 15 Aug 2005, at 09:55, Jacob Gorm Hansen wrote:
> And then Xen will pin them for me recursively, or they will not be
> pinned at all but just checked against having writable references? I
> seem to have a problem when combining writable pagetables and the
> traditional pinned ones in the same domain. The pagetables I inherit
> from the domain builder need to be unpinned before I can use the pages
> they reference for my own page tables, or I get complaints about trying
> to create a writable linear p.t.
Xen will infer their type when you pin the L2. At that point, they
behave exactly the same as a pinned L1, until they are detached from
the pinned L2 or the L2 itself is unpinned.
We play games with the initial p.t. in linux 2.6 as well. The code in
arch/xen/i386/mm/init.c might be worth looking at, although it's pretty
twisted stuff!
-- Keir
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-08-15 9:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-15 8:29 Pinning L1 page table with wrpt Jacob Gorm Hansen
2005-08-15 8:29 ` Keir Fraser
2005-08-15 8:55 ` Jacob Gorm Hansen
2005-08-15 9:16 ` Keir Fraser
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.