lkml.org 
[lkml]   [2015]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH] fs: use a sequence counter instead of file_lock in fd_install
From
Date
On Mon, 2015-04-20 at 09:46 -0700, Eric Dumazet wrote:

>
> Hey, that's because I really meant (during the week end)

old = xchg(&fdt->fd[fd], file);
if (unlikely(old && old != file))
filp_close(old, files);

That's going to be hard.

If you thought this problem was trivial, it probably means you missed
something.





\
 
 \ /
  Last update: 2015-04-20 19:21    [W:0.061 / U:9.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site