* [PATCH 1/4] powerpc: Sync pseries and ppc64 defconfigs
2011-07-06 23:13 [PATCH 0/4] Some defconfig updates Anton Blanchard
@ 2011-07-06 23:13 ` Anton Blanchard
2011-07-06 23:13 ` [PATCH 2/4] powerpc: Disable IRQs off tracer in ppc64 defconfig Anton Blanchard
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Anton Blanchard @ 2011-07-06 23:13 UTC (permalink / raw)
To: benh; +Cc: linuxppc-dev
The pseries defconfig had a number of drivers enabled and we may
as well add them to the ppc64 defconfig.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
Index: linux-powerpc/arch/powerpc/configs/ppc64_defconfig
===================================================================
--- linux-powerpc.orig/arch/powerpc/configs/ppc64_defconfig 2011-07-05 15:05:59.903893167 +1000
+++ linux-powerpc/arch/powerpc/configs/ppc64_defconfig 2011-07-07 09:07:26.482898262 +1000
@@ -176,12 +176,18 @@ CONFIG_CHR_DEV_SG=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_FC_ATTRS=y
+CONFIG_SCSI_SAS_ATTRS=m
+CONFIG_SCSI_CXGB3_ISCSI=m
+CONFIG_SCSI_CXGB4_ISCSI=m
+CONFIG_SCSI_BNX2_ISCSI=m
+CONFIG_BE2ISCSI=m
CONFIG_SCSI_IBMVSCSI=y
CONFIG_SCSI_IBMVFC=m
CONFIG_SCSI_SYM53C8XX_2=y
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0
CONFIG_SCSI_IPR=y
CONFIG_SCSI_QLA_FC=m
+CONFIG_SCSI_QLA_ISCSI=m
CONFIG_SCSI_LPFC=m
CONFIG_ATA=y
CONFIG_SATA_SIL24=y
@@ -235,11 +241,13 @@ CONFIG_ACENIC_OMIT_TIGON_I=y
CONFIG_E1000=y
CONFIG_E1000E=y
CONFIG_TIGON3=y
+CONFIG_BNX2=m
CONFIG_SPIDER_NET=m
CONFIG_GELIC_NET=m
CONFIG_GELIC_WIRELESS=y
CONFIG_CHELSIO_T1=m
CONFIG_CHELSIO_T3=m
+CONFIG_CHELSIO_T4=m
CONFIG_EHEA=m
CONFIG_IXGBE=m
CONFIG_IXGB=m
@@ -248,6 +256,8 @@ CONFIG_MYRI10GE=m
CONFIG_NETXEN_NIC=m
CONFIG_PASEMI_MAC=y
CONFIG_MLX4_EN=m
+CONFIG_QLGE=m
+CONFIG_BE2NET=m
CONFIG_ISERIES_VETH=m
CONFIG_PPP=m
CONFIG_PPP_ASYNC=m
@@ -330,6 +340,8 @@ CONFIG_INFINIBAND_USER_MAD=m
CONFIG_INFINIBAND_USER_ACCESS=m
CONFIG_INFINIBAND_MTHCA=m
CONFIG_INFINIBAND_EHCA=m
+CONFIG_INFINIBAND_CXGB3=m
+CONFIG_INFINIBAND_CXGB4=m
CONFIG_MLX4_INFINIBAND=m
CONFIG_INFINIBAND_IPOIB=m
CONFIG_INFINIBAND_IPOIB_CM=y
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/4] powerpc: Disable IRQs off tracer in ppc64 defconfig
2011-07-06 23:13 [PATCH 0/4] Some defconfig updates Anton Blanchard
2011-07-06 23:13 ` [PATCH 1/4] powerpc: Sync pseries and ppc64 defconfigs Anton Blanchard
@ 2011-07-06 23:13 ` Anton Blanchard
2011-07-06 23:13 ` [PATCH 3/4] powerpc: Add mpt2sas driver to pseries and " Anton Blanchard
2011-07-06 23:13 ` [PATCH 4/4] powerpc: Enable lockup and hung task detectors in pseries and ppc64 defeconfigs Anton Blanchard
3 siblings, 0 replies; 7+ messages in thread
From: Anton Blanchard @ 2011-07-06 23:13 UTC (permalink / raw)
To: benh; +Cc: linuxppc-dev
The IRQs off tracer enables mcount which has a big impact on
performance. Disable it.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
Index: linux-powerpc/arch/powerpc/configs/ppc64_defconfig
===================================================================
--- linux-powerpc.orig/arch/powerpc/configs/ppc64_defconfig 2011-07-07 09:07:26.482898262 +1000
+++ linux-powerpc/arch/powerpc/configs/ppc64_defconfig 2011-07-07 09:07:29.932959288 +1000
@@ -446,7 +446,6 @@ CONFIG_DEBUG_MUTEXES=y
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
CONFIG_LATENCYTOP=y
CONFIG_SYSCTL_SYSCALL_CHECK=y
-CONFIG_IRQSOFF_TRACER=y
CONFIG_SCHED_TRACER=y
CONFIG_BLK_DEV_IO_TRACE=y
CONFIG_DEBUG_STACKOVERFLOW=y
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3/4] powerpc: Add mpt2sas driver to pseries and ppc64 defconfig
2011-07-06 23:13 [PATCH 0/4] Some defconfig updates Anton Blanchard
2011-07-06 23:13 ` [PATCH 1/4] powerpc: Sync pseries and ppc64 defconfigs Anton Blanchard
2011-07-06 23:13 ` [PATCH 2/4] powerpc: Disable IRQs off tracer in ppc64 defconfig Anton Blanchard
@ 2011-07-06 23:13 ` Anton Blanchard
2011-07-06 23:13 ` [PATCH 4/4] powerpc: Enable lockup and hung task detectors in pseries and ppc64 defeconfigs Anton Blanchard
3 siblings, 0 replies; 7+ messages in thread
From: Anton Blanchard @ 2011-07-06 23:13 UTC (permalink / raw)
To: benh; +Cc: linuxppc-dev
Add mpt2sas driver to pseries and ppc64 defconfig.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
Index: linux-powerpc/arch/powerpc/configs/ppc64_defconfig
===================================================================
--- linux-powerpc.orig/arch/powerpc/configs/ppc64_defconfig 2011-07-07 09:07:29.932959288 +1000
+++ linux-powerpc/arch/powerpc/configs/ppc64_defconfig 2011-07-07 09:07:31.242982461 +1000
@@ -181,6 +181,7 @@ CONFIG_SCSI_CXGB3_ISCSI=m
CONFIG_SCSI_CXGB4_ISCSI=m
CONFIG_SCSI_BNX2_ISCSI=m
CONFIG_BE2ISCSI=m
+CONFIG_SCSI_MPT2SAS=m
CONFIG_SCSI_IBMVSCSI=y
CONFIG_SCSI_IBMVFC=m
CONFIG_SCSI_SYM53C8XX_2=y
Index: linux-powerpc/arch/powerpc/configs/pseries_defconfig
===================================================================
--- linux-powerpc.orig/arch/powerpc/configs/pseries_defconfig 2011-07-05 14:23:08.098773438 +1000
+++ linux-powerpc/arch/powerpc/configs/pseries_defconfig 2011-07-07 09:07:31.242982461 +1000
@@ -149,6 +149,7 @@ CONFIG_SCSI_CXGB3_ISCSI=m
CONFIG_SCSI_CXGB4_ISCSI=m
CONFIG_SCSI_BNX2_ISCSI=m
CONFIG_BE2ISCSI=m
+CONFIG_SCSI_MPT2SAS=m
CONFIG_SCSI_IBMVSCSI=y
CONFIG_SCSI_IBMVFC=m
CONFIG_SCSI_SYM53C8XX_2=y
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 4/4] powerpc: Enable lockup and hung task detectors in pseries and ppc64 defeconfigs
2011-07-06 23:13 [PATCH 0/4] Some defconfig updates Anton Blanchard
` (2 preceding siblings ...)
2011-07-06 23:13 ` [PATCH 3/4] powerpc: Add mpt2sas driver to pseries and " Anton Blanchard
@ 2011-07-06 23:13 ` Anton Blanchard
2011-07-07 7:46 ` [PATCH 4/4] powerpc: Enable lockup and hung task detectors in pseriesand " David Laight
3 siblings, 1 reply; 7+ messages in thread
From: Anton Blanchard @ 2011-07-06 23:13 UTC (permalink / raw)
To: benh; +Cc: linuxppc-dev
As a result of changes to Kconfig files, we no longer enable
the lockup and hung task detectors. Both are very light weight
and provide useful information in the event of a hang, so
reenable them.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
Index: linux-powerpc/arch/powerpc/configs/ppc64_defconfig
===================================================================
--- linux-powerpc.orig/arch/powerpc/configs/ppc64_defconfig 2011-07-07 09:07:31.242982461 +1000
+++ linux-powerpc/arch/powerpc/configs/ppc64_defconfig 2011-07-07 09:07:32.693008109 +1000
@@ -443,6 +443,8 @@ CONFIG_NLS_KOI8_U=m
CONFIG_CRC_T10DIF=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUG_KERNEL=y
+CONFIG_LOCKUP_DETECTOR=y
+CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEBUG_MUTEXES=y
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
CONFIG_LATENCYTOP=y
Index: linux-powerpc/arch/powerpc/configs/pseries_defconfig
===================================================================
--- linux-powerpc.orig/arch/powerpc/configs/pseries_defconfig 2011-07-07 09:07:31.242982461 +1000
+++ linux-powerpc/arch/powerpc/configs/pseries_defconfig 2011-07-07 09:07:32.693008109 +1000
@@ -321,6 +321,8 @@ CONFIG_NLS_ISO8859_1=y
CONFIG_CRC_T10DIF=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUG_KERNEL=y
+CONFIG_LOCKUP_DETECTOR=y
+CONFIG_DETECT_HUNG_TASK=y
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
CONFIG_LATENCYTOP=y
CONFIG_SYSCTL_SYSCALL_CHECK=y
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [PATCH 4/4] powerpc: Enable lockup and hung task detectors in pseriesand ppc64 defeconfigs
2011-07-06 23:13 ` [PATCH 4/4] powerpc: Enable lockup and hung task detectors in pseries and ppc64 defeconfigs Anton Blanchard
@ 2011-07-07 7:46 ` David Laight
2011-07-19 23:46 ` Anton Blanchard
0 siblings, 1 reply; 7+ messages in thread
From: David Laight @ 2011-07-07 7:46 UTC (permalink / raw)
To: Anton Blanchard, benh; +Cc: linuxppc-dev
=20
> As a result of changes to Kconfig files, we no longer enable
> the lockup and hung task detectors. Both are very light weight
> and provide useful information in the event of a hang, so
> reenable them.
...
> +CONFIG_LOCKUP_DETECTOR=3Dy
> +CONFIG_DETECT_HUNG_TASK=3Dy
Is one of thise responsible for generating a kernel stack traceback
when a process has been sleeping uninterruptably for a 'long' time?
We have a kernel subsystem that has several 'worker' threads,
these always sleep uninterruptable (they are shut down by explicit
request) and, at times, can be idle for long periods.
Perhaps it should be possible to disable the check either on
a per-process of per sleep basis?
David
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 4/4] powerpc: Enable lockup and hung task detectors in pseriesand ppc64 defeconfigs
2011-07-07 7:46 ` [PATCH 4/4] powerpc: Enable lockup and hung task detectors in pseriesand " David Laight
@ 2011-07-19 23:46 ` Anton Blanchard
0 siblings, 0 replies; 7+ messages in thread
From: Anton Blanchard @ 2011-07-19 23:46 UTC (permalink / raw)
To: David Laight; +Cc: linuxppc-dev
Hi David,
> > As a result of changes to Kconfig files, we no longer enable
> > the lockup and hung task detectors. Both are very light weight
> > and provide useful information in the event of a hang, so
> > reenable them.
> ...
> > +CONFIG_LOCKUP_DETECTOR=y
> > +CONFIG_DETECT_HUNG_TASK=y
>
> Is one of thise responsible for generating a kernel stack traceback
> when a process has been sleeping uninterruptably for a 'long' time?
>
> We have a kernel subsystem that has several 'worker' threads,
> these always sleep uninterruptable (they are shut down by explicit
> request) and, at times, can be idle for long periods.
>
> Perhaps it should be possible to disable the check either on
> a per-process of per sleep basis?
I don't see any runtime options other than disabling it completely via:
/proc/sys/kernel/hung_task_timeout_secs
Anton
^ permalink raw reply [flat|nested] 7+ messages in thread