Messages in this thread | | | Date | Tue, 22 Feb 2000 18:07:44 +0100 (CET) | From | Andrea Arcangeli <> | Subject | Re: lowlatency-2.2.14-B1 + 2.2.14aa7 fixes crash, but... |
| |
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/
| |