Re: [PATCH 1/2] memory-failure: Send right signal code to correct thread

From: Tony Luck
Date: Tue May 27 2014 - 18:54:01 EST


> - make sure that every thread in a recovery aware application should have
> a SIGBUS handler, inside which
> * code for SIGBUS(BUS_MCEERR_AR) is enabled for every thread
> * code for SIGBUS(BUS_MCEERR_AO) is enabled only for a dedicated thread

But how does the kernel know which is the special thread that
should see the "AO" signal? Broadcasting the signal to all
threads seems to be just as likely to cause problems to
an application as the h/w broadcasting MCE to all processors.

-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/