• Vladimir Murzin's avatar
    arm64: use private ratelimit state along with show_unhandled_signals · 86dca36e
    Vladimir Murzin authored
    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: default avatarVladimir Murzin <vladimir.murzin@arm.com>
    Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
    86dca36e
traps.c 11.4 KB