lkml.org 
[lkml]   [2015]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] fs: optimize inotify/fsnotify code for unwatched files
On Sat, Jun 20, 2015 at 06:30:58PM -0700, Paul E. McKenney wrote:
> Well, it is not hard to have an SRCU-like thing that doesn't have
> read-side memory barriers, given that older versions of SRCU didn't
> have them. However, the price is increased latency for the analog to
> synchronize_srcu(). I am guessing that this would not be a problem
> for notification-group destruction, which is presumably rare.

I don't think it ever makes sense to optimize for a global state. So
screw sync_srcu() and make the srcu_read_lock() thing go fast.

If you need fast global state you're doing it wrong.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2015-06-22 15:41    [W:0.070 / U:1.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site