I'd rather replace it, but your point about irq-safeness is a good one.
Clearly signal sending cannot take the task lock if we want to keep it
irq-unsafe.
So the signal stuff probably does need to be protected by _both_ the
tasklist lock and the provate task lock.
> Someone removed the read_lock(tasklist_lock) around
> send_specific_sig_info() - which lock synchronizes exec and signal delivery?
Looks like none. And I think it was Ingo who removed it. Ingo?
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/