From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HT8Iv-0005RW-JY for user-mode-linux-devel@lists.sourceforge.net; Sun, 18 Mar 2007 20:13:01 -0700 Received: from mail153.messagelabs.com ([216.82.253.51]) by mail.sourceforge.net with smtp (Exim 4.44) id 1HT8Iu-00044U-3v for user-mode-linux-devel@lists.sourceforge.net; Sun, 18 Mar 2007 20:13:01 -0700 Received: from az33exr01.mot.com (az33exr01.mot.com [10.64.251.231]) by motgate.mot.com (8.12.11/Motorola) with ESMTP id l2J3CwJ4016525 for ; Sun, 18 Mar 2007 20:12:58 -0700 (MST) Received: from az10vts01 (az10vts01.mot.com [10.64.251.242]) by az33exr01.mot.com (8.13.1/Vontu) with SMTP id l2J3CvqT018284 for ; Sun, 18 Mar 2007 22:12:57 -0500 (CDT) Received: from ZMY16EXM67.ds.mot.com (zmy16exm67.ap.mot.com [10.179.4.27]) by az33exr01.mot.com (8.13.1/8.13.0) with ESMTP id l2J3CtQ6018266 for ; Sun, 18 Mar 2007 22:12:56 -0500 (CDT) Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Mon, 19 Mar 2007 11:13:11 +0800 Message-ID: <0A01463223B8164194908CAC85B66A1201AD3E5C@ZMY16EXM67.ds.mot.com> From: "Krishnappa Abhijith-A21204" Subject: [uml-devel] Regarding Virtual Memory Emulation in UML. List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0128424601==" Sender: user-mode-linux-devel-bounces@lists.sourceforge.net Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net To: user-mode-linux-devel@lists.sourceforge.net This is a multi-part message in MIME format. --===============0128424601== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C769D4.7CE09D1D" This is a multi-part message in MIME format. ------_=_NextPart_001_01C769D4.7CE09D1D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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. =20 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? =20 Thanks, Abhi ------_=_NextPart_001_01C769D4.7CE09D1D Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi,
        = Regarding=20 Virtual Memory Emulation in UML (TT mode).
UML will=20 create a file of Physical mem size and it allocates memory to UML = process by=20 mmap() ing it.
 
Also in=20 Jeff's article I read that Kernel's text and Data are located in the = process=20 address space....
Why the=20 kernels text and data will be in UML Process address space ? Normaly = kernel is a=20 seprate entity right ?
So=20 basically process and kernel address space co-exist.. May I know=20 why?
 
Thanks,
Abhi
------_=_NextPart_001_01C769D4.7CE09D1D-- --===============0128424601== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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 --===============0128424601== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel --===============0128424601==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HTLvV-0006UU-FS for user-mode-linux-devel@lists.sourceforge.net; Mon, 19 Mar 2007 10:45:45 -0700 Received: from saraswathi.solana.com ([198.99.130.12]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HTLvU-0002NQ-KE for user-mode-linux-devel@lists.sourceforge.net; Mon, 19 Mar 2007 10:45:45 -0700 Date: Mon, 19 Mar 2007 13:43:47 -0400 From: Jeff Dike Message-ID: <20070319174347.GC11790@c2.user-mode-linux.org> References: <0A01463223B8164194908CAC85B66A1201AD3E5C@ZMY16EXM67.ds.mot.com> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <0A01463223B8164194908CAC85B66A1201AD3E5C@ZMY16EXM67.ds.mot.com> Subject: Re: [uml-devel] Regarding Virtual Memory Emulation in UML. List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: user-mode-linux-devel-bounces@lists.sourceforge.net Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net To: Krishnappa Abhijith-A21204 Cc: user-mode-linux-devel@lists.sourceforge.net 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