Re: do_page_fault

Matthew Wilcox <[email protected]>
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
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?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.