LWN.net Logo

Linux Filesystem, Storage, and Memory Management Summit, Day 2

Linux Filesystem, Storage, and Memory Management Summit, Day 2

Posted Apr 10, 2011 16:08 UTC (Sun) by ccurtis (guest, #49713)
Parent article: Linux Filesystem, Storage, and Memory Management Summit, Day 2

Page tables can occupy large amounts of kernel memory; [...] when a control group hits its limit. [...] The other way, though, is in the page fault handler; there is no way to return a failure status there. The best the controller can do is to send a segmentation fault signal; [...]

As an application programmer I'd hate to see a SEGV if the system was unable to page in memory. I think most people equate SEGV with a wild pointer and chances seem good that a debugger would show a pointer access somewhere nearby in an application backtrace.

Wouldn't SIGBUS be a more appropriate signal to send in this case?


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds