Skip to contentSkip to conversation

ARM: exynos_defconfig: Enable CONFIG_LOCKUP_DETECTOR

PATCH In review Anand Moon 2 participants 3 messages Jan 7, 2015

Subsystems (2)
lore
Share & tools
lore

Anand Moon

author
#0 lore raw

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
index 5ef14de..ecd9987 100644
@@ -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
#1 lore raw
Quoted 9 lines · Anand Moon

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.

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.

---
 arch/arm/configs/exynos_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/exynos_defconfig +1 -0
index 5ef14de..ecd9987 100644
@@ -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
author
#2 lore raw

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_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.

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.

---
 arch/arm/configs/exynos_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/exynos_defconfig +1 -0
index 5ef14de..ecd9987 100644
@@ -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