Files
lkl_linux/include/linux
Andrey Konovalov 53ae233c30 kasan, page_alloc: allow skipping unpoisoning for HW_TAGS
Add a new GFP flag __GFP_SKIP_KASAN_UNPOISON that allows skipping KASAN
poisoning for page_alloc allocations.  The flag is only effective with
HW_TAGS KASAN.

This flag will be used by vmalloc code for page_alloc allocations backing
vmalloc() mappings in a following patch.  The reason to skip KASAN
poisoning for these pages in page_alloc is because vmalloc code will be
poisoning them instead.

Also reword the comment for __GFP_SKIP_KASAN_POISON.

Link: https://lkml.kernel.org/r/35c97d77a704f6ff971dd3bfe4be95855744108e.1643047180.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Acked-by: Marco Elver <elver@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Collingbourne <pcc@google.com>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2022-03-24 19:06:47 -07:00
..
2022-02-01 14:25:50 +02:00
2022-01-22 08:33:34 +02:00
2022-03-07 06:42:33 -07:00
2022-01-15 08:47:31 -08:00
2022-03-08 19:39:38 -07:00
2022-03-17 20:17:18 -07:00
2022-03-16 15:13:36 -07:00
2022-01-15 08:47:31 -08:00
2022-01-20 08:52:54 +02:00
2022-03-21 13:01:36 -04:00
2022-03-02 22:44:49 -08:00
2021-12-17 09:06:15 +01:00
2022-03-15 08:23:29 -04:00
2021-12-20 09:03:05 +01:00
2022-02-05 15:20:34 +00:00
2022-01-27 13:53:26 +00:00
2022-03-21 12:57:38 -04:00
2022-02-09 09:24:40 -05:00
2022-02-28 13:45:04 +02:00
2022-01-12 10:14:09 -06:00
2022-03-24 19:06:45 -07:00
2022-02-02 07:49:59 -07:00
2022-01-22 08:33:37 +02:00
2022-01-08 12:43:57 -06:00
2022-01-24 14:45:02 +01:00
2022-03-08 14:33:36 -06:00
2022-03-17 20:16:29 -07:00
2022-01-22 08:33:37 +02:00
2022-02-25 09:36:06 +01:00
2022-02-16 07:49:41 +01:00
2022-03-22 15:57:11 -07:00
2022-01-27 13:53:27 +00:00
2021-12-30 12:13:04 +01:00