Re: [PATCH -mm 3/3] proc: make task_sig() lockless

From: David Howells
Date: Tue Mar 23 2010 - 04:37:51 EST


Oleg Nesterov <oleg@xxxxxxxxxx> wrote:

> task_sig() doesn't need ->siglock.

Except that the data returned might then be inconsistent because you don't
hold a lock as you read the various bits of it.

David
--
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/