xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Linux'es free_initmem() on Xen
@ 2016-02-02 12:44 Jan Beulich
  2016-02-02 13:30 ` David Vrabel
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Beulich @ 2016-02-02 12:44 UTC (permalink / raw)
  To: David Vrabel, Boris Ostrovsky, Konrad Rzeszutek Wilk; +Cc: xen-devel

All,

while looking into some of the DEBUG_WX issues I came across
aforementioned function and started wondering how pv-ops gets
away without the unmapping XenoLinux has always been doing
(in free_init_pages()). Inspecting
/sys/kernel/debug/kernel_page_tables, I indeed see the area
mapped (and even r/w) in both the kernel VA range and the 1:1
mapping. While I could see page table creation code (as being
arch specific) to know of this and update both mappings when
needed (albeit I can't seem to find respective code), I don't think
the balloon driver or code exchanging pages to guarantee
address restrictions can be expected to special case this. For my
education - what am I overlooking (or is there an actual issue)?

Thanks, Jan

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

end of thread, other threads:[~2016-02-04  7:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-02 12:44 Linux'es free_initmem() on Xen Jan Beulich
2016-02-02 13:30 ` David Vrabel
2016-02-02 14:10   ` Jan Beulich
2016-02-02 15:09     ` David Vrabel
2016-02-04  7:36       ` Jan Beulich

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).