Page fault in kernel code

Manavendra Nath Manav mnm.kernel at gmail.com
Tue Sep 9 09:23:55 EDT 2014


While reading the book Essential Linux device drivers it says "user mode
code is allowed to page fault, however, whereas kernel mode code isn't".

Why is it so? Why can't kernel mode code handle the page fault and reload
the page from swap? Also, can page fault occur when kernel is executing in
process context and/or interrupt context?

-- manav m-n
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140909/6be1c2dc/attachment.html 


More information about the Kernelnewbies mailing list