]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
arm64: Fix show_unhandled_signal_ratelimited usage
authorSuzuki K. Poulose <suzuki.poulose@arm.com>
Fri, 3 Jul 2015 14:08:08 +0000 (15:08 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 3 Jul 2015 16:03:06 +0000 (17:03 +0100)
commitf871d26807078cf4cc0a64a97ee2c6bb513a4397
tree84fb207de44498b8bd0a1f7dffd942d3ee33ffe2
parentf9058929f2acbb273ec83104ebeeab0593595e15
arm64: Fix show_unhandled_signal_ratelimited usage

Commit 86dca36e6ba introduced ratelimited usage for
'unhandled_signal' messages.
The commit checks the ratelimit irrespective of whether
the signal is handled or not, which is wrong and leads
to false reports like the below in dmesg :

__do_user_fault: 127 callbacks suppressed

Do the ratelimit check only if the signal is unhandled.

Fixes: 86dca36e6ba0 ("arm64: use private ratelimit state along with show_unhandled_signals")
Cc: Vladimir Murzin <Vladimir.Murzin@arm.com>
Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/traps.c
arch/arm64/mm/fault.c