lkml.org 
[lkml]   [1999]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] show_buffers() resurrection
On Sun, 12 Sep 1999, David S. Miller wrote:

>It can violate the strict buffer cache locking order if the sequence
>of events is just right.

??? trylock is always safe. You can deadlock _only_ spinning on the lock.
As far as you don't spin you can do everything you want at any time.

And BTW lru_list_lock is the first one to grab, so you can grab it at any
time, and if somebody is just grabbing it plus something else then you'll
find the lru_list_lock as just busy and you'll giveup in trylock.

Andrea


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.038 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site