lkml.org 
[lkml]   [2000]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: elevator code
On Wed, 13 Sep 2000, Martin Dalecki wrote:

>Yes seriously I would like to see it duplicated there. Becouse on this
>level it would be *far* simpler then on the generic level. And for

What do you mean with "simpler".

>a noabnormal configuration I guess the overall code size would
>be smaller then the generic aproach. Typically you just don't

Code sharing in this case is not a matter of saving icache and some bits
of memory, but a matter of maintainability of the sources.

>Could you do me the favour and just tell me inside which struct they
>are exactly? I would love it to try an elimination of the generic code
>on my system at home ;-).

linux/include/linux/blkdev.h:'struct request'
linux/include/linux/elevator.h:'struct elevator_s'

Chech the callbacks that finish with _fn.

Andrea

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:15    [from the cache]
©2003-2011 Jasper Spaans