Why is kernel memory not pagable ?

Anatol Pomozov anatol.pomozov at gmail.com
Mon Oct 21 12:08:58 EDT 2013


Hi

On Mon, Oct 21, 2013 at 8:53 AM, Nav Kamal <navkamal90 at gmail.com> wrote:
> Am very new to kernel programming and one of the concept says that kernel
> memory isn't pagable ? Can please someone explain its reason ?

If we try to page off kernel structures we might have a deadlock
trying to bring it back. Imagine you removed from memory for disk
drivers code text, or swapped data needed for paging algorithm. Now to
bring any data back you need the code that does not present in memory
and should be paged in -> deadlock.



More information about the Kernelnewbies mailing list