aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorJanne Huttunen <[email protected]>2018-11-16 15:08:32 -0800
committerLinus Torvalds <[email protected]>2018-11-18 10:15:10 -0800
commit13c9aaf7fa01cc7600c61981609feadeef3354ec (patch)
tree763c05ec919caab47f3147bdd6d1945094522a9c /scripts/bpf_helpers_doc.py
parent78179556e7605ba07fd3ddba6ab8891fa457b93e (diff)
mm/vmstat.c: fix NUMA statistics updates
Scan through the whole array to see if an update is needed. While we're at it, use sizeof() to be safe against any possible type changes in the future. The bug here is that we wouldn't sync per-cpu counters into global ones if there was an update of numa_stats for higher cpus. Highly theoretical one though because it is much more probable that zone_stats are updated so we would refresh anyway. So I wouldn't bother to mark this for stable, yet something nice to fix. [[email protected]: changelog enhancement] Link: http://lkml.kernel.org/r/[email protected] Fixes: 1d90ca897cb0 ("mm: update NUMA counter threshold size") Signed-off-by: Janne Huttunen <[email protected]> Acked-by: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions