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

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 20 Jul 1998 10:21:13 +0100 (BST)


> > __swappable(int somedev_complexioctl(...))
>
> As long as this is an option or doesn't add too much to the kernel code, as
> it is a 'wasteful extra' on NFS-root or flash booting embedded systems with
> no swap.

It doesnt cost anything if you define __swappable(x) as x

> Examples of things which can go for some embedded systems but AFAIK aren't
> options;

You have to look at the pieces which take space. Most of the ones you list
(except swap and /dev/random) have an almost 0 space cost. The Palmpilot
folks effectively got the swap one out.

Another big candidate post 2.2 is the IP routing code. For most non router
boxes the current code is all very nice, rather fast and complete overkill
when your number of routes is typically about 5.

Alan

-
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