xfs-masters
[Top] [All Lists]

Re: RFC: Fix f_flags races without the BKL

To: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Subject: Re: RFC: Fix f_flags races without the BKL
From: Oleg Nesterov <oleg@xxxxxxxxxx>
Date: Fri, 2 Jan 2009 20:09:03 +0100
Cc: Jonathan Corbet <corbet@xxxxxxx>, LKML <linux-kernel@xxxxxxxxxxxxxxx>, Andi Kleen <andi@xxxxxxxxxxxxxx>, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>, bfields@xxxxxxxxxxxx, xfs-masters@xxxxxxxxxxx
In-reply-to: <20090102184232.GH28946@ZenIV.linux.org.uk>
References: <20081229041352.6bbdf57c@tpl> <20090102184232.GH28946@ZenIV.linux.org.uk>
User-agent: Mutt/1.5.18 (2008-05-17)
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.

<Prev in Thread] Current Thread [Next in Thread>