virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* pgd_alloc and [cd]tors
@ 2006-11-17  0:50 Jeremy Fitzhardinge
  2006-11-17  1:28 ` Chris Wright
  2006-11-17  2:10 ` Zachary Amsden
  0 siblings, 2 replies; 7+ messages in thread
From: Jeremy Fitzhardinge @ 2006-11-17  0:50 UTC (permalink / raw)
  To: Chris Wright, Rusty Russell, Zachary Amsden; +Cc: Virtualization Mailing List

Is there any real use in having a ctor/dtor for the pgd cache?  Given
that all pgd allocation happens via pgd_alloc/pgd_free, why not just
fold the [cd]tor in?

I'm asking because Xen wants pgd[3] to be unshared in the PAE case, and
it looks to me like the easiest way to handle that is by making
pgd_alloc/free pv-ops and doing the appropriate thing in the Xen code. 
Would need to sort out the vmalloc mapping replication as well, but I
think that's pretty straightforward.

    J

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-11-17  8:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-17  0:50 pgd_alloc and [cd]tors Jeremy Fitzhardinge
2006-11-17  1:28 ` Chris Wright
2006-11-17  2:10 ` Zachary Amsden
2006-11-17  5:04   ` Jeremy Fitzhardinge
2006-11-17  5:14     ` Zachary Amsden
2006-11-17  7:14       ` Jeremy Fitzhardinge
2006-11-17  8:33       ` Gerd Hoffmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).