lkml.org 
[lkml]   [1999]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ Mind testing experimental one-liner? ]


On Sat, 16 Jan 1999, David S. Miller wrote:
>
> Btw, if you're willing to test some more, there's a much less intrusive
> way to get basically the same behaviour:
>
> ...
>
> How about just renaming it to __get_hash_table, add an extra arg "int
> uptodate_nowait", make a macro "get_hash_table" which just expands to
> passing the new arg as zero. Then call the internal version directly
> from places you know it is safe with the new arg as one? Seems much
> cleaner to me, and no code duplication (ie. unnecessary bloat).

Yes. However, I found another thing that needs to be changed: you need to
also remove the "wait_on_buffer()" in brelse(), which is why the system
still gets stuck with the other change.

That should get you running..

Linus


-
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:49    [W:0.096 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site