[parisc-linux] do_page_fault

Matthew Wilcox matthew at wil.cx
Tue Apr 24 07:33:56 MDT 2007


On Tue, Apr 24, 2007 at 01:15:52PM +0200, Julian Stecklina wrote:
> I saw these for testcases of libsigsegv, a very simple library which is 
> used to handle page faults in user space. This is normal for garbage 
> collected languages, as stock hardware provides no other efficient means 
> to implement write barriers to memory other than making the respective 
> pages read-only. Page faults under Unix-like systems are slow enough for 
> these purposes, so one should not print a complete register dump in the 
> handler...

It's a compile-time option.  I'd be all in favour of turning it off by
default, if only it weren't so darned useful when debugging userspace ...

Maybe someone should make it a prctl?



More information about the parisc-linux mailing list