Skip to content

Commit

Permalink
powerpc: Disable SPARSE_IRQ by default
Browse files Browse the repository at this point in the history
The SPARSE_IRQ considerably adds overhead to critical path of IRQ
handling.  However it doesn't benefit much in space for most systems with
limited IRQ_NR.  Should be disabled unless really necessary.

Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Yang Li authored and Benjamin Herrenschmidt committed Jul 8, 2010
1 parent 5afd878 commit 9ce9168
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ config IRQ_ALL_CPUS

config SPARSE_IRQ
bool "Support sparse irq numbering"
default y
default n
help
This enables support for sparse irqs. This is useful for distro
kernels that want to define a high CONFIG_NR_CPUS value but still
Expand All @@ -409,7 +409,7 @@ config SPARSE_IRQ
( Sparse IRQs can also be beneficial on NUMA boxes, as they spread
out the irq_desc[] array in a more NUMA-friendly way. )

If you don't know what to do here, say Y.
If you don't know what to do here, say N.

config NUMA
bool "NUMA support"
Expand Down

0 comments on commit 9ce9168

Please sign in to comment.