]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - Documentation/vm/hwpoison.txt
Merge tag 'trace-3.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[karo-tx-linux.git] / Documentation / vm / hwpoison.txt
index 550068466605b99e8beecca7a1b4a03788f2829a..6ae89a9edf2aac8d3ed6a9cf00d8cbad34fbaca7 100644 (file)
@@ -84,6 +84,11 @@ PR_MCE_KILL
                PR_MCE_KILL_EARLY: Early kill
                PR_MCE_KILL_LATE:  Late kill
                PR_MCE_KILL_DEFAULT: Use system global default
+       Note that if you want to have a dedicated thread which handles
+       the SIGBUS(BUS_MCEERR_AO) on behalf of the process, you should
+       call prctl(PR_MCE_KILL_EARLY) on the designated thread. Otherwise,
+       the SIGBUS is sent to the main thread.
+
 PR_MCE_KILL_GET
        return current mode