From mboxrd@z Thu Jan 1 00:00:00 1970 From: mnm.kernel@gmail.com (Manavendra Nath Manav) Date: Tue, 9 Sep 2014 18:53:55 +0530 Subject: Page fault in kernel code In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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