On Tue, 22 Feb 2000, Ingo Molnar wrote:
>[..] do a 'b_count++; schedule(); b_count--; goto repeat;'
>and everything should be fine. [..]
unless browsing the whole list takes more than the task timeslice (around
10msec with a reniced +20 task). With 2giga in buffer cache 10msec of
latnecy are realistic. If that will happen what you suggested above will
cause the task to hang forever in R state.
Also after the b_count-- you can process the bh. You should "goto repeat"
only after processing the bh. Just like what I am doing in 2.3.47 in
invalidate_buffers/set_blocksize.
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/
This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:30 EST