* Linux question, user space virtual mem layout
@ 2005-04-09 2:26 Jacob Gorm Hansen
2005-04-09 2:58 ` Jacob Gorm Hansen
0 siblings, 1 reply; 2+ messages in thread
From: Jacob Gorm Hansen @ 2005-04-09 2:26 UTC (permalink / raw)
To: xen-devel
hi,
I am trying to allow dom0 to be mapped permanently in the top parts of
all domU address spaces, to save some TLB flushes when doing I/O (on
x86-32) and see how much that helps performance.
So far I have managed to get the dom0 kernel, and a relinked user space,
to live between 0xf0000000 and 0xfc000000 where Xen starts. But I have
the problem that even though me user-space binaries are linked to reside
in the 0xf0000000 -> 0xf6000000 virtual area, mmap() in Linux still
likes to create mappings below 0xf0000000.
Can anyone on this list tell me how I can instruct Linux not to go below
a certain address when dealing out virtual mappings to user-space?
Thanks in advance,
Jacob
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Linux question, user space virtual mem layout
2005-04-09 2:26 Linux question, user space virtual mem layout Jacob Gorm Hansen
@ 2005-04-09 2:58 ` Jacob Gorm Hansen
0 siblings, 0 replies; 2+ messages in thread
From: Jacob Gorm Hansen @ 2005-04-09 2:58 UTC (permalink / raw)
To: Jacob Gorm Hansen; +Cc: xen-devel
Jacob Gorm Hansen wrote:
> Can anyone on this list tell me how I can instruct Linux not to go below
> a certain address when dealing out virtual mappings to user-space?
Never mind, I found the TASK_UNMAPPED_BASE define in
include/asm-xen/asm-i386/processor.h which seems to do what I need.
Sorry for the noise.
Jacob
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-09 2:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-09 2:26 Linux question, user space virtual mem layout Jacob Gorm Hansen
2005-04-09 2:58 ` Jacob Gorm Hansen
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.