diff options
author | Manfred Spraul <[email protected]> | 2022-12-16 16:04:39 +0100 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-02-02 22:50:01 -0800 |
commit | 805afd8300998948d16bdba0358dcfeb202a70d5 (patch) | |
tree | 66b0eab28da035317de3d2d178ab680a8a76e005 /scripts/gdb/linux/modules.py | |
parent | a9dc087fd3c484fd1ed18c5efb290efaaf44ce03 (diff) |
lib/percpu_counter: percpu_counter_add_batch() overflow/underflow
Patch series "various irq handling fixes/docu updates".
If an interrupt happens between __this_cpu_read(*fbc->counters) and
this_cpu_add(*fbc->counters, amount), and that interrupt modifies the
per_cpu_counter, then the this_cpu_add() after the interrupt returns may
under/overflow.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Manfred Spraul <[email protected]>
Cc: "Sun, Jiebin" <[email protected]>
Cc: <[email protected]>
Cc: Alexander Sverdlin <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions