lkml.org 
[lkml]   [2018]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: fs_struct refcounting: spinlock vs atomic
On Thu, Feb 15, 2018 at 06:39:57PM +0000, Al Viro wrote:

> Not true. We also assume that once fs_struct has been locked, the number of
> tasks with reference to it won't change. See fs/exec.c:check_unsafe_exec(),
> for example.

PS: any discussion of VFS and filesystems stuff belongs on fsdevel; Cc to l-k
is fine, but don't expect anyone to be able to reliably spot it there.

l-k is far too high volume (and low S/N) to keep up with it; some of us have
entirely given up on it (Linus is certainly not the only one who'd unsubscribed
from l-k many years ago), some try to scan it for something relevant, but
latency and reliability of such scans inevitably sucks.

\
 
 \ /
  Last update: 2018-02-15 19:52    [W:0.041 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site