diff options
author | Catalin Marinas <[email protected]> | 2022-06-10 16:21:40 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2022-07-07 10:48:37 +0100 |
commit | 6d05141a393071e104bf5be5ad4d0c79c6dff343 (patch) | |
tree | 47bf870084d0f5885db81e201f3cb59b825172da /lib/netdev-notifier-error-inject.c | |
parent | 70c248aca9e7efa85a6664d5ab56c17c326c958f (diff) |
mm: kasan: Skip page unpoisoning only if __GFP_SKIP_KASAN_UNPOISON
Currently post_alloc_hook() skips the kasan unpoisoning if the tags will
be zeroed (__GFP_ZEROTAGS) or __GFP_SKIP_KASAN_UNPOISON is passed. Since
__GFP_ZEROTAGS is now accompanied by __GFP_SKIP_KASAN_UNPOISON, remove
the extra check.
Signed-off-by: Catalin Marinas <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Andrey Konovalov <[email protected]>
Cc: Peter Collingbourne <[email protected]>
Cc: Vincenzo Frascino <[email protected]>
Reviewed-by: Vincenzo Frascino <[email protected]>
Reviewed-by: Andrey Konovalov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions