* [uml-devel] Regarding Virtual Memory Emulation in UML.
@ 2007-03-19 3:13 Krishnappa Abhijith-A21204
2007-03-19 17:43 ` Jeff Dike
0 siblings, 1 reply; 2+ messages in thread
From: Krishnappa Abhijith-A21204 @ 2007-03-19 3:13 UTC (permalink / raw)
To: user-mode-linux-devel
[-- Attachment #1.1: Type: text/plain, Size: 484 bytes --]
Hi,
Regarding Virtual Memory Emulation in UML (TT mode).
UML will create a file of Physical mem size and it allocates memory to
UML process by mmap() ing it.
Also in Jeff's article I read that Kernel's text and Data are located in
the process address space....
Why the kernels text and data will be in UML Process address space ?
Normaly kernel is a seprate entity right ?
So basically process and kernel address space co-exist.. May I know why?
Thanks,
Abhi
[-- Attachment #1.2: Type: text/html, Size: 1678 bytes --]
[-- Attachment #2: Type: text/plain, Size: 345 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #3: Type: text/plain, Size: 194 bytes --]
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [uml-devel] Regarding Virtual Memory Emulation in UML.
2007-03-19 3:13 [uml-devel] Regarding Virtual Memory Emulation in UML Krishnappa Abhijith-A21204
@ 2007-03-19 17:43 ` Jeff Dike
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2007-03-19 17:43 UTC (permalink / raw)
To: Krishnappa Abhijith-A21204; +Cc: user-mode-linux-devel
On Mon, Mar 19, 2007 at 11:13:11AM +0800, Krishnappa Abhijith-A21204 wrote:
> Regarding Virtual Memory Emulation in UML (TT mode).
> UML will create a file of Physical mem size and it allocates memory to
> UML process by mmap() ing it.
>
> Also in Jeff's article I read that Kernel's text and Data are located in
> the process address space....
In tt mode, yes.
> Why the kernels text and data will be in UML Process address space ?
Because there is (or at the time, seemed to be) no other way to change
address space mappings (mmap, munmap, mprotect) or to get page fault
information except to have the UML kernel in the same address space as
the process.
> Normaly kernel is a seprate entity right ?
Sure, but this is the same situation as on i386. The host kernel
occupies the upper 1G of the process address space.
> So basically process and kernel address space co-exist.. May I know
why?
Because it works, but skas0 shows another way to make this work.
Jeff
--
Work email - jdike at linux dot intel dot com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-19 17:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-19 3:13 [uml-devel] Regarding Virtual Memory Emulation in UML Krishnappa Abhijith-A21204
2007-03-19 17:43 ` Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox