diff options
| author | Andrey Konovalov <[email protected]> | 2022-09-05 23:05:23 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-10-03 14:02:57 -0700 |
| commit | 836daba099472baaa8b6a57772e8bb2d55f1f9d7 (patch) | |
| tree | cee6c0a75707420f4243e36dd5227e3097f4ddec /tools/perf/scripts | |
| parent | f3647cbfe5a34af1a22f2627dda5fb078a47f0d3 (diff) | |
kasan: introduce kasan_init_object_meta
Add a kasan_init_object_meta() helper that initializes metadata for a slab
object and use it in the common code.
For now, the implementations of this helper are the same for the Generic
and tag-based modes, but they will diverge later in the series.
This change hides references to alloc_meta from the common code. This is
desired as only the Generic mode will be using per-object metadata after
this series.
Link: https://lkml.kernel.org/r/47c12938fc7f8105e7aaa592527c0e9d3c81fc37.1662411799.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <[email protected]>
Reviewed-by: Marco Elver <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Evgenii Stepanov <[email protected]>
Cc: Peter Collingbourne <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions