Re: 2.2.x kernels and low memory levels

Stephen C. Tweedie (sct@redhat.com)
Fri, 30 Apr 1999 00:43:40 +0100 (BST)


Hi,

On Tue, 27 Apr 1999 09:13:42 +0200, Christer Weinigel <wingel@signum.se>
said:

> What about embedded systems, without swap but with a PCMCIA flash file
> system the system boots from, what would you think about that, is 2.2
> or 2.0.36 better?

Without swap, and paging from a solid state device, by far the highest
priority is minimising the amount of ram that the kernel takes up, so I
guess 2.0 will be better.

> And while on the subject, do you think it would be a good idea to try
> to strip out the swap code from the kernel, to reduce its memory
> footprint or would that be a waste of time (I suppose it would break
> demand loading of binaries/libraries, which would be a big loss).

Not really. The swapin code is closely related to demand loading, as
you note. The swapout code is _very_ closely related to the mechanisms
for evicting unused pages of mapped files. There's not much to be
gained from removing swapping.

--Stephen

-
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/