lkml.org 
[lkml]   [2008]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH -v4 12/14] fsnotify: add correlations between events
On Sun, Dec 21, 2008 at 09:40:01PM -0500, Eric Paris (eparis@redhat.com) wrote:
> anyone who uses inotify think there would be a problem with cookie reuse
> coming this soon?

In my experience we only care about cookies to be the same, and not
monotinically grow up. So this may just jump up and down, and since
events are potentially distributed in time (although follow one after
another), wrapping should roughly cover number of processes running (and
potentially renaming objects), so having 20 bits for the counter and 12
for the CPU id should be enough for now.

--
Evgeniy Polyakov


\
 
 \ /
  Last update: 2008-12-22 10:05    [from the cache]
©2003-2011 Jasper Spaans