On Sunday 02 October 2005 20:31, Jeff Dike wrote: > On Sun, Oct 02, 2005 at 12:23:14PM +0200, Blaisorblade wrote: > > Sorry, any reference will fault, unless it is done on a allocated present > > page, which the UML kernel freed but the host didn't. And remember, btw, > > you've planned to make this impossible...
> You are not making any sense t me here. /dev/anon - when the UML kernel frees a page, we ask the host to free it too. > > Sorry, Jeff, which page are you going to evict? It can be a dirty page. > > Unless you mean that since that page is still accounted in the FS, Linux > > will leave a RAM page free to allow it to be re-read, while still > > swapping the page. > Swapped pages are accounted in the FS all the time and there's obviously > no dedicated page left free for them when they are next pulled in. All > disk-based filesystems account pages that are on disk and not in memory. > tmpfs is no different, except that its disk is the swap partition. Exactly what I knew... However, I was in error... I just saw that filling the disk, or tmpfs, is rather different than going OOM. OOM causes SIGKILL, while SIGBUS (as you correctly said) comes from full disk/partition, or filled disk quota. I only checked tmpfs, but that gives at least a feeling. -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel