[PATCH v2 0/3] page table check warn instead of panic

Pasha Tatashin posted 3 patches 2 years, 6 months ago
Documentation/mm/page_table_check.rst |  5 ++--
mm/page_table_check.c                 | 39 ++++++++++++++++-----------
2 files changed, 27 insertions(+), 17 deletions(-)
[PATCH v2 0/3] page table check warn instead of panic
Posted by Pasha Tatashin 2 years, 6 months ago
Changelog:
v2:
 - Moved "Check writable zero page in page table check" to be last in
   series so not to add more BUG_ON.
 - Removed page_table_check=panic as was suggested by Mathew Wilcox
v1:
  https://lore.kernel.org/linux-mm/20220911095923.3614387-1-pasha.tatashin@soleen.com/

Page table check when detects errors panics the kernel, instead,
print warnings as it is more useful, and it was agreed the right
behaviour for kernel.

In case when panic is still preferred, there is panic_on_warn sysctl
option.

Pasha Tatashin (2):
  mm/page_table_check: Do WARN_ON instead of BUG_ON
  doc/vm: add information about page_table_check warn_on behavior

Rick Edgecombe (1):
  mm/page_table_check: Check writable zero page in page table check

 Documentation/mm/page_table_check.rst |  5 ++--
 mm/page_table_check.c                 | 39 ++++++++++++++++-----------
 2 files changed, 27 insertions(+), 17 deletions(-)

-- 
2.41.0.487.g6d72f3e995-goog