Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757456Ab0HDJAt (ORCPT ); Wed, 4 Aug 2010 05:00:49 -0400 Received: from mail.windriver.com ([147.11.1.11]:36224 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756956Ab0HDJAr (ORCPT ); Wed, 4 Aug 2010 05:00:47 -0400 Date: Wed, 4 Aug 2010 16:59:48 +0800 From: Yong Zhang To: Ryan Wang Cc: kernelnewbies@nl.linux.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: question about CONFIG_BASE_SMALL Message-ID: <20100804085948.GA21549@windriver.com> Reply-To: Yong Zhang References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 04 Aug 2010 08:59:51.0071 (UTC) FILETIME=[65D372F0:01CB33B3] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1126 Lines: 36 On Wed, Aug 04, 2010 at 04:38:12PM +0800, Ryan Wang 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? Yeah, here: init/Kconfig: ... config BASE_SMALL int default 0 if BASE_FULL default 1 if !BASE_FULL ... config BASE_FULL default y bool "Enable full-sized data structures for core" if EMBEDDED help Disabling this option reduces the size of miscellaneous core kernel data structures. This saves memory on small machines, > > thanks, > -- > 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/ -- 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/