Re: question about CONFIG_BASE_SMALL

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pei Lin
Date: Wednesday, August 4, 2010 - 6:10 pm

2010/8/4 Mulyadi Santosa <mulyadi.santosa@gmail.com>:
FYI.

Date:	Mon, 31 Jan 2005 01:25:51 -0600
To: Andrew Morton <akpm@osdl.org>

This patch series introduced a new pair of CONFIG_EMBEDDED options call
CONFIG_BASE_FULL/CONFIG_BASE_SMALL. Disabling CONFIG_BASE_FULL sets
the boolean CONFIG_BASE_SMALL to 1 and it is used to shrink a number
of core data structures. The space savings for the current batch is
around 14k.
-

For example , look at the file "Linux/include/linux/udp.h"
http://lxr.free-electrons.com/source/include/linux/udp.h

#define UDP_HTABLE_SIZE_MIN             (CONFIG_BASE_SMALL ? 128 : 256)





-- 
Best Regards
Lin
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
question about CONFIG_BASE_SMALL, Ryan Wang, (Wed Aug 4, 1:38 am)
Re: question about CONFIG_BASE_SMALL, Yong Zhang, (Wed Aug 4, 1:59 am)
Re: question about CONFIG_BASE_SMALL, Mulyadi Santosa, (Wed Aug 4, 2:14 am)
Re: question about CONFIG_BASE_SMALL, Pei Lin, (Wed Aug 4, 6:10 pm)