diff options
author | Suren Baghdasaryan <[email protected]> | 2024-05-31 13:53:50 -0700 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-06-05 19:19:26 -0700 |
commit | 9415983599413f847ec9f081e9f9e5ed6cdeb342 (patch) | |
tree | da34b5488c7324ed2dbad65ea990b94cedb76779 /lib/test_fortify/write_overflow-memcpy.c | |
parent | 3f0c44c8c21cfa3bb6b756b939491b7a60932cd1 (diff) |
mm: fix xyz_noprof functions calling profiled functions
Grepping /proc/allocinfo for "noprof" reveals several xyz_noprof
functions, which means internally they are calling profiled functions.
This should never happen as such calls move allocation charge from a
higher level location where it should be accounted for into these lower
level helpers. Fix this by replacing profiled function calls with noprof
ones.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: b951aaff5035 ("mm: enable page allocation tagging")
Fixes: e26d8769da6d ("mempool: hook up to memory allocation profiling")
Fixes: 88ae5fb755b0 ("mm: vmalloc: enable memory allocation profiling")
Signed-off-by: Suren Baghdasaryan <[email protected]>
Cc: Kent Overstreet <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Pasha Tatashin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions