]> 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)
commita0e9976bcd5da7cda82614927d0047886487d423
treef858a56b334f12e8324b21707f60fb087276ab78
parentb20affba55314e044e4e7c95926ec6c999fd3dce
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