diff options
| author | Sven Schnelle <[email protected]> | 2021-12-06 10:50:16 +0000 |
|---|---|---|
| committer | Heiko Carstens <[email protected]> | 2021-12-12 17:52:26 +0000 |
| commit | c9b12b59e2ea4c3c7cedec7efb071b649652f3a9 (patch) | |
| tree | dfbe454db40c768b6c0955ee0846122ab06fdbd4 /net/unix/af_unix.c | |
| parent | s390: enable switchdev support in defconfig (diff) | |
| download | kernel-c9b12b59e2ea4c3c7cedec7efb071b649652f3a9.tar.gz kernel-c9b12b59e2ea4c3c7cedec7efb071b649652f3a9.zip | |
s390/entry: fix duplicate tracking of irq nesting level
In the current code, when exiting from idle, rcu_irq_enter() is
called twice during irq entry:
irq_entry_enter()-> rcu_irq_enter()
irq_enter() -> rcu_irq_enter()
This may lead to wrong results from rcu_is_cpu_rrupt_from_idle()
because of a wrong dynticks nmi nesting count. Fix this by only
calling irq_enter_rcu().
Cc: <[email protected]> # 5.12+
Reported-by: Mark Rutland <[email protected]>
Fixes: 56e62a737028 ("s390: convert to generic entry")
Signed-off-by: Sven Schnelle <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
