Re: where is the user process mapping???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 27 Jun 2003 03:28:35 -0000
"sushil  mayengbam" <sushix@rediffmail.com> wrote:

>hi folks,
>i come across that the following mapping is occured inside the 
>main memory (or any memory bank):-
>ZONE_DMA:first 16 MB(becoz of the ISA controller limitation)
>ZONE_NORMAL:the kernel address space
>ZONE_HIGH_MEM:the rest of the memory.
>supposing  that, i'd 128MB (RAM) inside my computer system, how 
>'re the zones mapped inside this configuration????

Well assuming your computer is an Intel x86, Linux doesn't make
use of high memory in your case since you need it just if the amount
of RAM is more than ~1GB. As regards the other two zones,
normally the kernel tries to allocate memory from normal zone.

DMA zone is considered just if

1- a specific request is done f.e through GFP_DMA allocation flag
   in kmalloc() and this is the case of ISA devices typically.
2- if the kernel doesn't find anything searching for memory in the
   normal zone.

Regards.



- --

Angelo Dell'Aera 'buffer' 
Antifork Research, Inc.	  	http://buffer.antifork.org

PGP information in e-mail header


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD4DBQE+/IfYpONIzxnBXKIRArQJAJjAhzy5lDXEnUq4BsrWIK/kxhTgAKCdrUIL
y44/fxMQwNOpiRIv59HBNw==
=Ppda
-----END PGP SIGNATURE-----
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux