]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
arm64: use private ratelimit state along with show_unhandled_signals
authorVladimir Murzin <vladimir.murzin@arm.com>
Fri, 19 Jun 2015 14:28:03 +0000 (15:28 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 19 Jun 2015 15:26:15 +0000 (16:26 +0100)
commit86dca36e6ba019650a94cadf922ea3d06dec0182
tree1880f9334e60f0255403b9482cf2fac1d0355479
parent9e793ab84ed482047f7226595313f0f3a0aa6854
arm64: use private ratelimit state along with show_unhandled_signals

printk_ratelimit() shares the ratelimiting state with other callers what
may lead to scenarios where at the time we want to print out debug
information we already limited, so nothing appears in the dmesg - this
makes exception-trace quite poor helper in debugging.

Additionally, we have imbalance with some messages limited with global
ratelimit state and other messages limited with their private state
defined via pr_*_ratelimited().

To address this inconsistency show_unhandled_signals_ratelimited()
macro is introduced and caller sites are converted to use it.

Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/system_misc.h
arch/arm64/kernel/traps.c
arch/arm64/mm/fault.c