Re: Kernel memory usage optimisations?

Anton Blanchard (anton@samba.org)
Wed, 19 Dec 2001 23:59:19 +1100



> I understand that best area for saving memory usage is the C-library but
> are there any other kernel areas? I'm thinking of dropping swapfile support
> and maybe some other subsystems that are not needed in embedded device.

Check out all the cacheline_aligned usage, in all the cases I could see
there was no reason to do this on a UP machine. You could probably get
away with redefining them to do nothing.

Also you could drop the sizes of the hashes (dentry, inode, mount,
buffer, page, route) if they are taking up RAM.

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