On Sunday, December 30, 2012 1:20:24 PM UTC, Dima Pasechnik wrote: > I think it's just the matter of setting up a fresh signal handler before > calling mmap(), and reinstating the old one after this is done. >
No, if you mmap() with MAP_NORESERVE then it always succeeds (if the processor can address it, 16TB on x86_64). Reads always succeed. But whenever you write to the memory map, you can get a SIGSEGV. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel?hl=en.
