diff options
author | Marco Elver <elver@google.com> | 2021-11-05 13:45:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-11-06 13:30:43 -0700 |
commit | 9a19aeb5665068c3e2727230588684aae2cab7ef (patch) | |
tree | 7b3ed9c006eff9474397ba46a9a48c99041fe07b /drivers | |
parent | f39f21b3ddc7fc0f87eb6dc75ddc81b5bbfb7672 (diff) | |
download | linux-stable-9a19aeb5665068c3e2727230588684aae2cab7ef.tar.gz linux-stable-9a19aeb5665068c3e2727230588684aae2cab7ef.tar.bz2 linux-stable-9a19aeb5665068c3e2727230588684aae2cab7ef.zip |
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/20210923104803.2620285-2-elver@google.com
Signed-off-by: Marco Elver <elver@google.com>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Acked-by: Alexander Potapenko <glider@google.com>
Cc: Aleksandr Nogikh <nogikh@google.com>
Cc: Jann Horn <jannh@google.com>
Cc: Taras Madan <tarasmadan@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions