diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2024-07-08 05:05:44 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-13 00:52:22 +0200 |
commit | 8a78882dac1c8c464e047a29415edb50421651ce (patch) | |
tree | 912008c604c86f655a5fcf2b7e5eb51a8ed4f69b /mm/truncate.c | |
parent | mm: simplify folio_migrate_mapping() (diff) | |
download | linux-8a78882dac1c8c464e047a29415edb50421651ce.tar.xz linux-8a78882dac1c8c464e047a29415edb50421651ce.zip |
mm/memory-failure: remove obsolete MF_MSG_DIFFERENT_COMPOUND
The page cannot become compound pages again just after a folio is split as
an extra refcnt is held. So the MF_MSG_DIFFERENT_COMPOUND case is
obsolete and can be removed to get rid of this false assumption and code
burden. But add one WARN_ON() here to keep the situation clear.
Link: https://lkml.kernel.org/r/20240708030544.196919-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Borislav Petkov (AMD) <bp@alien8.de>
Cc: Naoya Horiguchi <nao.horiguchi@gmail.com>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions