linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* a suspected race at __posix_lock_file()
@ 2009-07-24  5:56 홍신 shin hong
  2009-07-26 22:20 ` Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: 홍신 shin hong @ 2009-07-24  5:56 UTC (permalink / raw)
  To: matthew, linux-fsdevel

Hi. I found a suspected race condition bug at fs/locks/__posix_lock_file()
in recent Linux kernel.

This bug is similar to the one reported in ChangeLog 2.6.24 ( commit
85c59580b30c82aa771aa33b37217a6b6851bc14 ).

Big Kernel Lock(BKL) might be released and re-taken
at the call site of locks_delete_lock()
since Releasing-On-Block semantics of BKL.
Locks_delete_lock() may be blocked by kmem_cache_alloc() invocation.

Please examine the possbility of race condition of this code
and let me know your opinion.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-26 22:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-24  5:56 a suspected race at __posix_lock_file() 홍신 shin hong
2009-07-26 22:20 ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).