]> git.baikalelectronics.ru Git - kernel.git/commit
mm/memory-failure.c: remove unnecessary PageTransTail check
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 22 Mar 2022 21:44:33 +0000 (14:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2022 22:57:07 +0000 (15:57 -0700)
commite522c5649cb0ebdd4f07966f0992405e19d635ef
tree954d5bb64355f7c733b23d8065a10850cf3f8870
parent5d217d3d23539a708d5febc61673784039d7a819
mm/memory-failure.c: remove unnecessary PageTransTail check

When we reach here, we're guaranteed to have non-compound page as thp is
already splited.  Remove this unnecessary PageTransTail check.

Link: https://lkml.kernel.org/r/20220218090118.1105-9-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>
mm/memory-failure.c