diff options
author | 2022-03-22 14:44:12 -0700 | |
---|---|---|
committer | 2022-03-22 15:57:07 -0700 | |
commit | 577553f4897181dc8960351511c921018892e818 (patch) | |
tree | 4221eeb75739f667e5a055b2498e6be88ad960e5 /include/linux/fault-inject.h | |
parent | mm: invalidate hwpoison page cache page in fault path (diff) | |
download | wireguard-linux-577553f4897181dc8960351511c921018892e818.tar.xz wireguard-linux-577553f4897181dc8960351511c921018892e818.zip |
mm/memory-failure.c: minor clean up for memory_failure_dev_pagemap
Patch series "A few cleanup and fixup patches for memory failure", v3.
This series contains a few patches to simplify the code logic, remove
unneeded variable and remove obsolete comment. Also we fix race
changing page more robustly in memory_failure. More details can be
found in the respective changelogs.
This patch (of 8):
The flags always has MF_ACTION_REQUIRED and MF_MUST_KILL set. So we do
not need to check these flags again.
Link: https://lkml.kernel.org/r/20220218090118.1105-1-linmiaohe@huawei.com
Link: https://lkml.kernel.org/r/20220218090118.1105-2-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/fault-inject.h')
0 files changed, 0 insertions, 0 deletions