Re: question about CONFIG_BASE_SMALL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/8/4 Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx>:
> Hi...
>
> On Wed, Aug 4, 2010 at 15:38, Ryan Wang <openspace.wang@xxxxxxxxx> wrote:
>> Hi all,
>>
>>      I noticed CONFIG_BASE_SMALL in different parts
>> of the kernel code, with ifdef/ifndef.
>>      I wonder what does CONFIG_BASE_SMALL mean?
>> And how can I configure it, e.g. through make menuconfig?
>
> Reply on top of my head: IIRC it means to disable certain things...or
> possibly enabling things that might reduce memory footprints.
>
> The goal....to make Linux kernel running more suitable for embedded
> system and low level specification machine...
>
FYI.

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

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)


> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>



-- 
Best Regards
Lin

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux