Thread (19 messages) 19 messages, 4 authors, 2015-03-01

Re: Generic page fault (Was: libsigsegv ....)

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2015-02-28 22:50:39
Also in: linux-mm, lkml

On Sun, 2015-03-01 at 09:16 +1100, Benjamin Herrenschmidt wrote:
So for error handling, I'm trying to simply return the VM_FAULT_* flags
from generic_page_fault see where that takes us. That's a way to avoid
passing an arch specific struct around. It also allows my hack to
account major faults with the hypervisor to be done outside the generic
code completely (no hook).
I suspect sparc64 will defeat the "not passing an arch struct around"
though... oh well.

Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help