diff options
author | Mateusz Nosek <mateusznosek0@gmail.com> | 2020-10-15 20:07:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-10-16 11:11:17 -0700 |
commit | 11c9c7edae06da789abfdeefe5123162a3f1c7dc (patch) | |
tree | 474756845a06f2a0414e3058db12706763722f73 /mm/hmm.c | |
parent | b94e02822debdf0cc473556aad7dcc859f216653 (diff) | |
download | linux-11c9c7edae06da789abfdeefe5123162a3f1c7dc.tar.gz linux-11c9c7edae06da789abfdeefe5123162a3f1c7dc.tar.bz2 linux-11c9c7edae06da789abfdeefe5123162a3f1c7dc.zip |
mm/page_poison.c: replace bool variable with static key
Variable 'want_page_poisoning' is a switch deciding if page poisoning
should be enabled. This patch changes it to be static key.
Signed-off-by: Mateusz Nosek <mateusznosek0@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Oscar Salvador <OSalvador@suse.com>
Link: https://lkml.kernel.org/r/20200921152931.938-1-mateusznosek0@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/hmm.c')
0 files changed, 0 insertions, 0 deletions