diff options
author | Dennis Zhou <dennis@kernel.org> | 2018-12-18 08:42:27 -0800 |
---|---|---|
committer | Dennis Zhou <dennis@kernel.org> | 2018-12-18 09:04:08 -0800 |
commit | 6ab7d47bcbf0144a8cb81536c2cead4cde18acfe (patch) | |
tree | 600747ab67a2dafdf9375bc1933ff2ba55dcb9be /lib | |
parent | 7566ec393f4161572ba6f11ad5171fd5d59b0fbd (diff) | |
download | linux-6ab7d47bcbf0144a8cb81536c2cead4cde18acfe.tar.gz linux-6ab7d47bcbf0144a8cb81536c2cead4cde18acfe.tar.bz2 linux-6ab7d47bcbf0144a8cb81536c2cead4cde18acfe.zip |
percpu: convert spin_lock_irq to spin_lock_irqsave.
From Michael Cree:
"Bisection lead to commit b38d08f3181c ("percpu: restructure
locking") as being the cause of lockups at initial boot on
the kernel built for generic Alpha.
On a suggestion by Tejun Heo that:
So, the only thing I can think of is that it's calling
spin_unlock_irq() while irq handling isn't set up yet.
Can you please try the followings?
1. Convert all spin_[un]lock_irq() to
spin_lock_irqsave/unlock_irqrestore()."
Fixes: b38d08f3181c ("percpu: restructure locking")
Reported-and-tested-by: Michael Cree <mcree@orcon.net.nz>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Dennis Zhou <dennis@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions