Re: Memory Rusting Effect [re: Linux hostile to poverty]

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 20 Jul 1998 09:38:00 +0100 (BST)


> Folks, increased functionality and/or increased performance almost always
> means increased memory footprint. There's no fix for that yet, as long as
> the kernel itself can't be swapped (and I don't think we want to deal with
> the *nasty* potential deadlocks inherent in swappable kernel memory!).

I think people exaggerate how hard that is. I've had bits of this sort of
working in 2.1.x earlier. So long as you only touch interface code that
is not itself involved in swapping and which can tolerate sleeping - of
which much of the config side code is an obvious candidate then you can
merge it all together by borrowing the initfunc trick and having

__swappable(int somedev_complexioctl(...))

-
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.altern.org/andrebalsa/doc/lkml-faq.html