<p dir="ltr">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".</p>
<p dir="ltr">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?</p>
<p dir="ltr">-- manav m-n</p>