Re: Kernel space limitations

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

 



Hi Rajat,
             i have one more doubt, in Linux 32768 process can be  ( Practically may not be possible ), i have configuared the kernel stack size as 4kb. if this is the case how the kernel behaves, i have only 512 MB RAM and 1024 Swap space.

1. Is the kenel hangs or it is having any recovary machanism for handling this situation.
2. What hapends to my use space process running.

3 . if it not the case, i created some processes which occupies total RAM available. in this case what is the behaviour of the kernel.

4 . How the kernel handles the stack and as well as memory allocated by the process.

Thanks,
Venkata jagadeesh.p


             

On 4/12/07, Rajat Jain <rajat.noida.india@xxxxxxxxx> wrote:
Hi Adil,

> > >
> > > 3. is kernel space data can be swaped to swapspce .
> >
> > No.
> Is it applicable total 1GB of kernel address space?
>

IMHO, it is true for only the memory which is ACTUALLY in use by the
kernel. For e.g. on a system with 512 MB RAM, if a kernel's static
memory foot print is 50 MB, then that 50 MB will never be swapped out
to disk.

Additionally, the dynamically allocated memory by the kernel ( e.g. if
a driver kmallocs() certain memory) is also marked as non-swappable
(till the time it is kfreed()).

Can some body please CMIIW.

Thanks,

Rajat


[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