]> Git Repo - linux.git/commit
mm: memory-failure: convert to pr_fmt()
authorKefeng Wang <[email protected]>
Tue, 26 Jul 2022 08:10:46 +0000 (16:10 +0800)
committerakpm <[email protected]>
Sat, 30 Jul 2022 01:07:20 +0000 (18:07 -0700)
commit96f96763de26d6ee333d5b2446d1b04a4e6bc75b
tree573ce9c77b47f85b4c99651dbca57c6ba0d6b6f0
parent07252dfea2c7089bca68949710268cbbb0ce509e
mm: memory-failure: convert to pr_fmt()

Use pr_fmt to prefix all pr_<level> output, but unpoison_memory() and
soft_offline_page() are used by error injection, which have own prefixes
like "Unpoison:" and "soft offline:", meanwhile, soft_offline_page() could
be used by memory hotremove, so reset pr_fmt before unpoison_pr_info
definition to keep the original output for them.

[[email protected]: v3]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kefeng Wang <[email protected]>
Acked-by: Naoya Horiguchi <[email protected]>
Reviewed-by: Miaohe Lin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
mm/memory-failure.c
This page took 0.051479 seconds and 4 git commands to generate.