On Monday 15 August 2005 12:15, Russell King wrote: > On Mon, Aug 15, 2005 at 08:12:54PM +1000, Nick Piggin wrote: > > Well there is now, and that is we are now using a bit in the 2nd > > byte as flags. So I had to do away with -ve numbers there entirely.
> > You could achieve a similar thing by using another bit in that byte > > #define VM_FAULT_FAILED 0x20 > > and make that bit present in VM_FAULT_OOM and VM_FAULT_SIGBUS, then > > do an unlikely test for that bit in your handler and branch away to > > the slow path. > That'll do as well, thanks. Note that what Nick said is about mainline kernels, not only my brave patch. Currently Linus fixed up ARM26 by disabling the optimization: see git commit 6e346228c76506e07e297744a28464022c6806ad. -- 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 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel