lkml.org 
[lkml]   [1999]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: disk head scheduling


On Mon, 22 Mar 1999, Rogier Wolff wrote:
>
> To save on the (indirect) function call, I would like to suggest:
>
> unsigned char **queue_numbers;
>
> queue_number = queue_numbers[major][minor];

This is what we do for block sizes, and it's a complete horror to maintain
and debug. Even worse: it forces us to have 8-bit minor and major numbers
forever.

The function would be slightly more CPU work, but is a _lot_ more
flexible.

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:50    [from the cache]
©2003-2011 Jasper Spaans