diff options
author | 2023-07-04 13:58:34 +0000 | |
---|---|---|
committer | 2023-07-11 09:53:50 +0200 | |
commit | 44f6a42d4935028ffd788e7cf9114e4a1f8d6d3a (patch) | |
tree | 5ab28b869abe47c8151140d255c185d10402e612 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 6.5-rc1 (diff) | |
download | wireguard-linux-44f6a42d4935028ffd788e7cf9114e4a1f8d6d3a.tar.xz wireguard-linux-44f6a42d4935028ffd788e7cf9114e4a1f8d6d3a.zip |
mm/slub: refactor freelist to use custom type
Currently the SLUB code represents encoded freelist entries as "void*".
That's misleading, those things are encoded under
CONFIG_SLAB_FREELIST_HARDENED so that they're not actually dereferencable.
Give them their own type, and split freelist_ptr() into one function per
direction (one for encoding, one for decoding).
Signed-off-by: Jann Horn <jannh@google.com>
Co-developed-by: Matteo Rizzo <matteorizzo@google.com>
Signed-off-by: Matteo Rizzo <matteorizzo@google.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions