diff options
| author | Marco Elver <[email protected]> | 2021-11-05 13:45:31 -0700 | 
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-11-06 13:30:43 -0700 | 
| commit | a9ab52bbcb52df49ec4b30e6741e120588989455 (patch) | |
| tree | 37e924c963ac848b649211d9e33c9f0ab782dcee /scripts/gdb/linux/config.py | |
| parent | 9a19aeb5665068c3e2727230588684aae2cab7ef (diff) | |
kfence: move saving stack trace of allocations into __kfence_alloc()
Move the saving of the stack trace of allocations into __kfence_alloc(),
so that the stack entries array can be used outside of
kfence_guarded_alloc() and we avoid potentially unwinding the stack
multiple times.
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