Re: Kernel memory usage optimisations?

From: Anton Blanchard (anton@samba.org)
Date: Wed Dec 19 2001 - 07:59:19 EST


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



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:18 EST