]> git.baikalelectronics.ru Git - kernel.git/commit
mm: introduce clear_highpage_kasan_tagged
authorAndrey Konovalov <andreyknvl@google.com>
Thu, 9 Jun 2022 18:18:46 +0000 (20:18 +0200)
committerakpm <akpm@linux-foundation.org>
Mon, 4 Jul 2022 01:08:39 +0000 (18:08 -0700)
commit9b25bdab2ec83991f06b53c9a028e67d05a74894
treef858a56b334f12e8324b21707f60fb087276ab78
parenta2474f791cb2ecb8d77aa4e83c79ee99af25ed08
mm: introduce clear_highpage_kasan_tagged

Add a clear_highpage_kasan_tagged() helper that does clear_highpage() on a
page potentially tagged by KASAN.

This helper is used by the following patch.

Link: https://lkml.kernel.org/r/4471979b46b2c487787ddcd08b9dc5fedd1b6ffd.1654798516.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Marco Elver <elver@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/highmem.h
mm/page_alloc.c