aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFabio M. De Francesco <[email protected]>2022-05-09 18:20:51 -0700
committerAndrew Morton <[email protected]>2022-05-13 07:20:06 -0700
commitf38adfef7e6bfe681d6602b6668be31fe1310ed0 (patch)
treebbc24e92abab0dddbee031911eeb7d3705f788ae /tools/perf/scripts/python
parent3c81b3bb0a33e2b555edb8d7eb99a7ae4f17d8bb (diff)
mm/highmem: VM_BUG_ON() if offset + len > PAGE_SIZE
Add VM_BUG_ON() bounds checking to make sure that, if "offset + len> PAGE_SIZE", memset() does not corrupt data in adjacent pages. Mainly to match all the similar functions in highmem.h. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Fabio M. De Francesco <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Ira Weiny <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: "Matthew Wilcox (Oracle)" <[email protected]> Cc: Peter Collingbourne <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions