Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [RFC PATCH 3/3] fs: detect that the i_rwsem has already been t ...

$
0
0
Linus Torvalds writes: (Summary) You'd have to serialize the actual measurement with the "read generation count", but that should be as simple as just doing a smp_rmb() between the "read generation count" and "do measurement on file contents".
file contents".
Of course, if you do something more complex in invalidation, you may end up needing a real lock.
end up needing a real lock.
Linus
Linus
Linus

Viewing all articles
Browse latest Browse all 1267

Trending Articles