RE: memory used by kernel?

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

 



On Fri, 2004-10-08 at 21:09, Anand wrote:
> hey  this link sld help u better http://kerneltrap.org/node/view/2450 
> ,
> More over in the kernel space kmalloc() does the Physical Memory
> allocation,

but the address returned by kmalloc is also a virtual address right??
it's only that kmalloc gives a continuous chunk of mem. as compared
to vmalloc

thanx,
-mandeep
> and vmalloc does the Virtual Memory allocation.
>  
> Rgds,
> Anand
>         -----Original Message-----
>         From: kernelnewbies-bounce@xxxxxxxxxxxx
>         [mailto:kernelnewbies-bounce@xxxxxxxxxxxx]On Behalf Of matrix
>         reloaded
>         Sent: Friday, October 08, 2004 3:46 PM
>         To: Mandeep Sandhu
>         Cc: kernelnewbies; manish regmi
>         Subject: Re: memory used by kernel?
>         
>         
>         
>         
>         
>         
>         On Fri, 08 Oct 2004 Mandeep Sandhu wrote : 
>         
>         >then is there amax limit upto which the kernel can allocate
>         mem 
>         >for itself + what is the significance of the 3G/1G split?? 
>         >Is'nt this 1G mapping the limit upto which all kernel space 
>         >addresses can exist??? can the kernel eat into user-space mem
>         >as well? 
>         
>         This 1G thing is virtual address space division, but you are
>         right in the sense that 
>         this may be the limit for kernel memory usage, as for physical
>         memory you need to 
>         have virtual address space also in protected mode on x86. 
>         
>         Thanks. 
>         Sumit Sharma 
>         IBM, Bangalore. 
>         
>         
>         
>         

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