linux-stable/mm/kfence
Marco Elver 737b6a10ac kfence: allow use of a deferrable timer
Allow the use of a deferrable timer, which does not force CPU wake-ups
when the system is idle.  A consequence is that the sample interval
becomes very unpredictable, to the point that it is not guaranteed that
the KFENCE KUnit test still passes.

Nevertheless, on power-constrained systems this may be preferable, so
let's give the user the option should they accept the above trade-off.

Link: https://lkml.kernel.org/r/20220308141415.3168078-1-elver@google.com
Signed-off-by: Marco Elver <elver@google.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2022-03-22 15:57:11 -07:00
..
core.c kfence: allow use of a deferrable timer 2022-03-22 15:57:11 -07:00
kfence.h kfence: limit currently covered allocations when pool nearly full 2021-11-06 13:30:43 -07:00
kfence_test.c kfence: test: try to avoid test_gfpzero trigger rcu_stall 2022-03-22 15:57:11 -07:00
Makefile mm/kfence: remove unnecessary CONFIG_KFENCE option 2022-03-22 15:57:11 -07:00
report.c Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00