Revision 8ef8286689c6b5bc76212437b85bdd2ba749ee44 authored by Christoph Lameter on 20 February 2007, 21:57:52 UTC, committed by Linus Torvalds on 21 February 2007, 01:10:13 UTC
The alien cache is a per cpu per node array allocated for every slab on the
system.  Currently we size this array for all nodes that the kernel does
support.  For IA64 this is 1024 nodes.  So we allocate an array with 1024
objects even if we only boot a system with 4 nodes.

This patch uses "nr_node_ids" to determine the number of possible nodes
supported by a hardware configuration and only allocates an alien cache
sized for possible nodes.

The initialization of nr_node_ids occurred too late relative to the bootstrap
of the slab allocator and so I moved the setup_nr_node_ids() into
free_area_init_nodes().

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 53b8a31
Raw File
Kconfig
#
# SoC audio configuration
#

menu "SoC audio support"
	depends on SND!=n

config SND_SOC_AC97_BUS
	bool

config SND_SOC
	tristate "SoC audio support"
	---help---

	  If you want SoC support, you should say Y here and also to the
	  specific driver for your SoC below. You will also need to select the
	  specific codec(s) attached to the SoC

	  This SoC audio support can also be built as a module.  If so, the module
	  will be called snd-soc-core.

# All the supported Soc's
menu "SoC Platforms"
depends on SND_SOC
source "sound/soc/at91/Kconfig"
source "sound/soc/pxa/Kconfig"
endmenu

# Supported codecs
source "sound/soc/codecs/Kconfig"

endmenu
back to top