There is a tiny race when de-registering an MD thread, in that the
thread could disappear before it is set a SIGKILL, causing
send_sig to have problems.
This is most easily closed by holding tasklist_lock between
enabling the thread to exit (setting -run to NULL) and telling
it to exit.
On Thursday April 7, [EMAIL PROTECTED] wrote:
That code all seems a bit crufty to me. Sometime it would be good to stop
using signals in-kernel and to use the kthread API for thread startup and
shutdown.
I've just added that to my TODO list... thanks for the suggestion.
NeilBrown
-
To