Re: safety of *mutex_unlock() (Was: [BUG] signal: sighand unprotected when accessed by /proc)
From: Steven Rostedt
Date: Wed Jun 18 2014 - 12:53:19 EST
On Wed, 18 Jun 2014 18:43:59 +0200
Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
> And (contrary to what I said initially) we can rely on this because -rt
> converts spinlock_t into rt_mutex ?
Correct. Because if spinlock_t has this behavior, rt_mutex must have it
too, otherwise -rt will suffer greatly from that. Who knows, maybe this
will fix some strange bug reports that we have had in the past.
-- Steve
--
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/