mm/kfence: Convert kfence_guarded_alloc() to struct slab
authorVlastimil Babka <vbabka@suse.cz>
Wed, 3 Nov 2021 17:19:48 +0000 (18:19 +0100)
committerVlastimil Babka <vbabka@suse.cz>
Thu, 6 Jan 2022 11:26:29 +0000 (12:26 +0100)
commit8dae0cfed57357c0a627f377386ade1591f4d9ea
tree75c221232f269505b26d0cf6ce2f0065c4eb4204
parent6e48a966dfd18987fec9385566a67d36e2b5fc11
mm/kfence: Convert kfence_guarded_alloc() to struct slab

The function sets some fields that are being moved from struct page to
struct slab so it needs to be converted.

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Tested-by: Marco Elver <elver@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Marco Elver <elver@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: <kasan-dev@googlegroups.com>
mm/kfence/core.c
mm/kfence/kfence_test.c