aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorThibaut Sautereau <[email protected]>2021-12-25 05:12:51 +0000
committerLinus Torvalds <[email protected]>2021-12-25 20:20:56 +0000
commit595ec1973c276f6c0c1de8aca5eef8dfd81f9b49 (patch)
tree488e6ef636209d2491847bc98eec9020c6193aeb /tools/perf/scripts/python/libxed.py
parentmm: delete unsafe BUG from page_cache_add_speculative() (diff)
downloadkernel-595ec1973c276f6c0c1de8aca5eef8dfd81f9b49.tar.gz
kernel-595ec1973c276f6c0c1de8aca5eef8dfd81f9b49.zip
mm/page_alloc: fix __alloc_size attribute for alloc_pages_exact_nid
The second parameter of alloc_pages_exact_nid is the one indicating the size of memory pointed by the returned pointer. Link: https://lkml.kernel.org/r/YbjEgwhn4bGblp//@coeus Fixes: abd58f38dfb4 ("mm/page_alloc: add __alloc_size attributes for better bounds checking") Signed-off-by: Thibaut Sautereau <[email protected]> Acked-by: Kees Cook <[email protected]> Cc: Daniel Micay <[email protected]> Cc: Levente Polyak <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions