lkml.org 
[lkml]   [2000]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: bug in count_open_files() or a strange granularity?
On Tue, 28 Nov 2000, Alexander Viro wrote:
> Besides, locking rules like that (you must hold the files->files_lock if
> doclose is 0 and you must NOT hold it is doclose is 1) are sick. We could
> make the function itself grab the spinlock, but then the return value
> becomes junk before the thing returns it.

Ok, you are right (about such policy being sick) -- I will think a bit
more. Thank you!

Regards,
Tigran

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

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