]> git.baikalelectronics.ru Git - kernel.git/commit
mm/kfence: print disabling or re-enabling message
authorJackie Liu <liuyun01@kylinos.cn>
Wed, 18 May 2022 07:31:05 +0000 (15:31 +0800)
committerakpm <akpm@linux-foundation.org>
Wed, 25 May 2022 17:47:48 +0000 (10:47 -0700)
commit03d946e8df3a34933663ff2350d41cc90db59eae
treeeb702b15f22e6d0a4f833bdbbb10e3a8df8222b4
parent95b9ebce91f805db376006b3f4e09a98d6b120f1
mm/kfence: print disabling or re-enabling message

By printing information, we can friendly prompt the status change
information of kfence by dmesg and record by syslog.

Also, set kfence_enabled to false only when needed.

Link: https://lkml.kernel.org/r/20220518073105.3160335-1-liu.yun@linux.dev
Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
Co-developed-by: Marco Elver <elver@google.com>
Signed-off-by: Marco Elver <elver@google.com>
Reviewed-by: Marco Elver <elver@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/kfence/core.c