diff options
| author | Marco Elver <[email protected]> | 2021-11-05 13:45:28 -0700 | 
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-11-06 13:30:43 -0700 | 
| commit | 9a19aeb5665068c3e2727230588684aae2cab7ef (patch) | |
| tree | 7b3ed9c006eff9474397ba46a9a48c99041fe07b /scripts/gdb/linux/config.py | |
| parent | f39f21b3ddc7fc0f87eb6dc75ddc81b5bbfb7672 (diff) | |
kfence: count unexpectedly skipped allocations
Maintain a counter to count allocations that are skipped due to being
incompatible (oversized, incompatible gfp flags) or no capacity.
This is to compute the fraction of allocations that could not be
serviced by KFENCE, which we expect to be rare.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Marco Elver <[email protected]>
Reviewed-by: Dmitry Vyukov <[email protected]>
Acked-by: Alexander Potapenko <[email protected]>
Cc: Aleksandr Nogikh <[email protected]>
Cc: Jann Horn <[email protected]>
Cc: Taras Madan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions