Re: elevator code

From: Andrea Arcangeli (andrea@suse.de)
Date: Wed Sep 13 2000 - 11:51:12 EST


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/



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:21 EST