NeilBrown <neilb@xxxxxxx> wrote: > > > Despite the fact that md threads don't need to be signalled, and won't > respond to signals anyway, we need to have an 'interruptible' wait, > else they stay in 'D' state and add to the load average. > > ... > + if (signal_pending(current)) > + flush_signals(current); Kernel threads don't accept signals by default, so the above is unneeded. I'll leave it in there now, since that's how things used to be, but please make a note to nuke that check, then test it to make sure I'm telling the truth, then fix it up later on? - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html