lkml.org 
[lkml]   [1998]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-kernel-digest V1 #2824
> From: MOLNAR Ingo <mingo@chiara.csoma.elte.hu>
> Date: Thu, 12 Nov 1998 03:39:28 +0100 (CET)
> Subject: [patch] Re: elevator algorithm bug in ll_rw_blk.c
>
> On Wed, 11 Nov 1998, Philip Gladstone wrote:
>
> > I.e. if you have a queue: 10 20 5 and you insert 25, then
> > you should get 10 20 25 5 and not 10 20 5 25 as currently.
>
> nicely spotted ... unless i'm missing something, this was probably one of
> the oldest Linux bugs :)

I vaguely recall reading in some operating system book that this is modified version of the elevator algorithm
meant increase fairness. Otherwise, the access to block 5 might be delayed a *long* time if lots of high-value
blocks are requested.






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