]> git.baikalelectronics.ru Git - kernel.git/commit
mm/memory-failure.c: rework the signaling logic in kill_proc
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 22 Mar 2022 21:44:18 +0000 (14:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2022 22:57:07 +0000 (15:57 -0700)
commitc3e2e3b7c35d495a088745e3a1951223cc589b90
tree8cf677f638a71045f49c4e1b0e8e89f0a6802435
parenteea3f877eca2e042b253683d989dc82636c2ce8e
mm/memory-failure.c: rework the signaling logic in kill_proc

BUS_MCEERR_AR code is only sent when MF_ACTION_REQUIRED is set and the
target is current.  Rework the code to make this clear.

Link: https://lkml.kernel.org/r/20220218090118.1105-4-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