Re: do_page_fault
Julian Stecklina <[email protected]>
| Newsgroups | gmane.linux.ports.hppa |
|---|---|
| Message-ID | <[email protected]> |
Jeff Bailey wrote: > I've googled a bit and am having trouble finding a guide to interpret > a do_page_fault message. Are these the result of a userspace app > behaving poorly? I'm going to try and reduce this to a test case over > the next few days. 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... Btw, if someone with a good insight into signal handling has some time: I am currently investigating why libsigsegv's testcases all fail. I have a patched version that fixes some typos in the configure script to let it detect the platform correctly here: http://www.inf.tu-dresden.de/~s1054849/libsigsegv-2.4-hppa.tar.gz Just configure && make && make check. tests/sigsegv1 gets a wrong fault address (0) in the handler and aborts. The rest of the test cases just get a SIGSEGV and die, indicating that the handler isn't even called.... I am clueless. Any help is greatly appreciated. Regards, Julian