* lock free inotify_ioctl()?
@ 2008-10-22 13:39 hooanon05
0 siblings, 0 replies; only message in thread
From: hooanon05 @ 2008-10-22 13:39 UTC (permalink / raw)
To: ttb, rml; +Cc: linux-kernel
Hello John McCutchan and Robert Love,
I have a question about inotify_ioctl().
I am investigating if a user process misses the inotify event or gets
wrong event by ioctl(fd, FIONREAD, &pending) in linux-2.6.27, and found
it doesn't acquire dev->ev_mutex lock before accessing dev->queue_size.
In SMP system, is it safe and sure too?
Is the mutex lock unnecessary?
Junjiro R. Okajima
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-22 13:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-22 13:39 lock free inotify_ioctl()? hooanon05
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox