summaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/mm.py
diff options
context:
space:
mode:
authorManfred Spraul <manfred@colorfullife.com>2022-12-16 16:04:39 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-02-02 22:50:01 -0800
commit805afd8300998948d16bdba0358dcfeb202a70d5 (patch)
tree66b0eab28da035317de3d2d178ab680a8a76e005 /scripts/gdb/linux/mm.py
parenta9dc087fd3c484fd1ed18c5efb290efaaf44ce03 (diff)
downloadlinux-805afd8300998948d16bdba0358dcfeb202a70d5.tar.gz
linux-805afd8300998948d16bdba0358dcfeb202a70d5.tar.bz2
linux-805afd8300998948d16bdba0358dcfeb202a70d5.zip
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/20221216150155.200389-1-manfred@colorfullife.com Link: https://lkml.kernel.org/r/20221216150441.200533-1-manfred@colorfullife.com Signed-off-by: Manfred Spraul <manfred@colorfullife.com> Cc: "Sun, Jiebin" <jiebin.sun@intel.com> Cc: <1vier1@web.de> Cc: Alexander Sverdlin <alexander.sverdlin@siemens.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions