[PATCH] PPC64 Add PREEMPT_BKL option

Paul Mackerras paulus at samba.org
Thu Jan 13 21:47:30 EST 2005


This patch adds the PREEMPT_BKL config option for PPC64, shamelessly
stolen from the i386 version.  I have this turned on in the kernel on
my desktop G5 and it seems to be just fine.

Signed-off-by: Paul Mackerras <paulus at samba.org>

diff -urN linux-2.5/arch/ppc64/Kconfig test/arch/ppc64/Kconfig
--- linux-2.5/arch/ppc64/Kconfig	2005-01-11 08:57:19.000000000 +1100
+++ test/arch/ppc64/Kconfig	2005-01-12 20:25:17.000000000 +1100
@@ -231,6 +231,17 @@
 	  Say Y here if you are building a kernel for a desktop, embedded
 	  or real-time system.  Say N if you are unsure.
 
+config PREEMPT_BKL
+	bool "Preempt The Big Kernel Lock"
+	depends on PREEMPT
+	default y
+	help
+	  This option reduces the latency of the kernel by making the
+	  big kernel lock preemptible.
+
+	  Say Y here if you are building a kernel for a desktop system.
+	  Say N if you are unsure.
+
 #
 # Use the generic interrupt handling code in kernel/irq/:
 #



More information about the Linuxppc64-dev mailing list