Re: [PATCH 2/2] wayland-cursor: Introduce os-fault-handler

2013-02-03 Thread Pekka Paalanen
On Fri, 1 Feb 2013 18:17:58 +0100 Martin Minarik wrote: > This fault handler can be used for recovery from an out of memory > condition (OOM). When writing to a full mmap'ed memory, the SIGBUS > signal causes the process to terminate. > > It can be caught and the process may decide what to do ne

[PATCH 2/2] wayland-cursor: Introduce os-fault-handler

2013-02-01 Thread Martin Minarik
This fault handler can be used for recovery from an out of memory condition (OOM). When writing to a full mmap'ed memory, the SIGBUS signal causes the process to terminate. It can be caught and the process may decide what to do next, for example restart the computation later, or shut down and tell