mm/memory-failure.c: support use of a dedicated thread to handle SIGBUS(BUS_MCEERR_AO)
[deliverable/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
 
This page took 0.026516 seconds and 5 git commands to generate.