Re: memory used by kernel?

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

 



On Tue, Oct 12, 2004 at 11:09:05 +0530, Thekkedath, Gopakumar wrote:
> >  2. Let us consider there is some advantage of maintaining kernel
> >     page table (along with every process page table), then, kernel
> >     page table also mush reside in memory always (even if the linux 
> >     kernel is not pageable). If the kernel page table is in memory
> >     always, isn't it trivial to implement kernel memory as pageable.
> >     What is the rational behind the kernel being not pageable?
> 
> 	AFAIK, by making kernel non pageable the kernel development is made
> much eazy. 

In fact it would be immediate deadlock to allow some parts of kernel to
be pageable. If you swapped the code, that does the swapping, who would
load it back?

In a monolithic kernel, like linux, the memory is not separated, so it
can't reasonably be swappable.

In a micro-kernel, the micro-kernel itself (which has to issue the
paging request) and the disk server (that must handle it) must not be
swappable and the other servers can be. Well, those that handle hardware
can't be, since interrupts must be served in a timely manner.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@xxxxxx>

Attachment: signature.asc
Description: Digital signature


[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