ARM: exynos_defconfig: Enable CONFIG_LOCKUP_DETECTOR
Subsystems (2)
PATCH 1/1 ARM: exynos_defconfig: Enable CONFIG_LOCKUP_DETECTOR
ARM Enable CONFIG_LOCKUP_DETECTOR to validation of kernel locks
v2 Fixed the commit log
This config item helps getting some useful information when lockup happens. If you want to validate locks then probably you want PROVE_LOCKING... but its overhead is larger.
Anyway the overhead of LOCKUP_DETECTOR is small and multi_v7_defconfig has it enabled so I guess exynos may do it as well.
Tested on Exynos5422 ODROID XU3 board.
--- arch/arm/configs/exynos_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/exynos_defconfig +1 -0
@@ -178,6 +178,7 @@ CONFIG_PRINTK_TIME=y CONFIG_DEBUG_FS=y CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_KERNEL=y +CONFIG_LOCKUP_DETECTOR=y CONFIG_DETECT_HUNG_TASK=y CONFIG_DEBUG_RT_MUTEXES=y CONFIG_DEBUG_SPINLOCK=y
Signature · 1 line
2.1.0
Quoted 9 lines · Anand Moon
ARM Enable
CONFIG_LOCKUP_DETECTORto validation of kernel locksv2 Fixed the commit log
This config item helps getting some useful information when lockup happens. If you want to validate locks then probably you wantPROVE_LOCKING... but its overhead is larger.Anyway the overhead of
LOCKUP_DETECTORis small andmulti_v7_defconfighas it enabled so I guess exynos may do it as well.
Err? Why did you include my response as commit message? It does not really make sense.
Let me point this once again:
1. The commit message is inaccurate because CONFIG_LOCKUP_DETECTOR does not validate the locks.
2. Please write proper commit message describing WHY you want to add this config option.
Best regards,
Krzysztof
Quoted 21 lines
Tested on Exynos5422 ODROID XU3 board.
Signed-off-by Anand Moon <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>--- arch/arm/configs/exynos_defconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/configs/exynos_defconfig +1
-0@@ -178,6 +178,7 @@ CONFIG_PRINTK_TIME=y CONFIG_DEBUG_FS=y CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_KERNEL=y +CONFIG_LOCKUP_DETECTOR=y CONFIG_DETECT_HUNG_TASK=y CONFIG_DEBUG_RT_MUTEXES=y CONFIG_DEBUG_SPINLOCK=y
PATCH 1/1 ARM: exynos_defconfig: Enable CONFIG_LOCKUP_DETECTOR
Hi Krzysztof Kozlowski,
Thanks for review
I will send patch v2 with proper reason.
-Anand Moon
On Wednesday, January 7, 2015 5:52 PM, Krzysztof Kozlowski <[email protected]> wrote:
Quoted 9 lines · Anand Moon
ARM Enable
CONFIG_LOCKUP_DETECTORto validation of kernel locksv2 Fixed the commit log
This config item helps getting some useful information when lockup happens. If you want to validate locks then probably you wantPROVE_LOCKING... but its overhead is larger.Anyway the overhead of
LOCKUP_DETECTORis small andmulti_v7_defconfighas it enabled so I guess exynos may do it as well.
Err? Why did you include my response as commit message? It does not really make sense.
Let me point this once again:
1. The commit message is inaccurate because CONFIG_LOCKUP_DETECTOR does not validate the locks.
2. Please write proper commit message describing WHY you want to add this config option.
Best regards,
Krzysztof
Quoted 21 lines
Tested on Exynos5422 ODROID XU3 board.
Signed-off-by Anand Moon <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>--- arch/arm/configs/exynos_defconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/configs/exynos_defconfig +1
-0@@ -178,6 +178,7 @@ CONFIG_PRINTK_TIME=y CONFIG_DEBUG_FS=y CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_KERNEL=y +CONFIG_LOCKUP_DETECTOR=y CONFIG_DETECT_HUNG_TASK=y CONFIG_DEBUG_RT_MUTEXES=y CONFIG_DEBUG_SPINLOCK=y