Re: RFC: Fix f_flags races without the BKL

From: Oleg Nesterov
Date: Fri Jan 02 2009 - 14:11:35 EST


On 01/02, Al Viro wrote:
>
> Bloating with mutex is over the top, indeed, but why can't we simply keep
> a pointer to fasync_struct in there? Do we ever have a struct file with
> several fasync_struct?

pipe_rdwr_fasync() ?

Oleg.

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