Liu Shixin
fd783c9a20
mm/memory-failure: fix an incorrect use of tail pages
...
When backport commit c79c5a0a00a9 to 4.19-stable, there is a mistake change.
The head page instead of tail page should be passed to try_to_unmap(),
otherwise unmap will failed as follows.
Memory failure: 0x121c10: failed to unmap page (mapcount=1)
Memory failure: 0x121c10: recovery action for unmapping failed page: Ignored
Fixes: c6f50413f2aa ("mm/memory-failure: check the mapcount of the precise page")
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 27f83f1cacba82afa4c9697e3ec3abb15e92ec82)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
2024-05-30 09:00:40 +00:00
..
2023-02-06 07:46:34 +01:00
2021-12-14 10:16:54 +01:00
2018-10-13 09:27:30 +02:00
2017-11-02 11:10:55 +01:00
2019-06-15 11:54:51 +02:00
2019-08-06 19:05:23 +02:00
2017-11-02 11:10:55 +01:00
2019-10-05 12:48:13 +02:00
2017-11-02 11:10:55 +01:00
2018-09-19 22:43:48 +02:00
2018-02-25 11:08:03 +01:00
2018-09-15 09:45:28 +02:00
2017-11-02 11:10:55 +01:00
2022-11-25 17:36:55 +01:00
2022-12-08 11:16:33 +01:00
2023-08-11 11:33:32 +02:00
2021-04-28 12:08:42 +02:00
2017-11-02 11:10:55 +01:00
2019-01-13 10:01:02 +01:00
2021-07-20 16:17:41 +02:00
2019-11-20 17:59:33 +01:00
2022-11-03 23:50:54 +09:00
2017-11-02 11:10:55 +01:00
2021-07-11 12:48:10 +02:00
2017-09-08 18:26:49 -07:00
2019-06-15 11:54:51 +02:00
2018-02-22 15:42:24 +01:00
2023-01-18 09:26:04 +01:00
2022-09-15 12:23:51 +02:00
2023-08-11 11:33:32 +02:00
2019-06-19 08:20:54 +02:00
2020-09-09 19:03:11 +02:00
2018-10-10 08:54:22 +02:00
2018-02-22 15:42:24 +01:00
2022-03-02 11:34:00 +01:00
2024-03-21 13:32:24 +00:00
2021-09-22 11:45:34 +02:00
2024-05-30 09:00:40 +00:00
2024-01-18 11:22:33 +00:00
2023-08-11 11:33:32 +02:00
2017-11-02 11:10:55 +01:00
2024-05-30 09:00:39 +00:00
2022-10-26 13:16:50 +02:00
2019-05-21 18:50:16 +02:00
2019-07-10 09:54:36 +02:00
2022-09-20 11:51:30 +02:00
2019-07-31 07:28:56 +02:00
2017-11-02 11:10:55 +01:00
2020-03-11 18:03:02 +01:00
2022-04-20 09:08:29 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-04-02 16:34:20 +02:00
2021-11-26 11:40:37 +01:00
2023-05-17 11:11:51 +02:00
2017-11-02 11:10:55 +01:00
2019-04-05 22:31:27 +02:00
2019-07-03 13:15:59 +02:00
2021-03-07 11:27:46 +01:00
2017-11-02 11:10:55 +01:00
2020-07-31 16:44:45 +02:00
2019-04-05 22:31:28 +02:00
2021-07-11 12:48:12 +02:00
2024-03-08 08:21:38 +00:00
2020-10-01 13:12:32 +02:00
2017-11-02 11:10:55 +01:00
2019-02-12 19:46:05 +01:00
2017-09-27 14:45:57 -07:00
2018-04-08 14:26:29 +02:00
2023-08-11 11:33:32 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-09-09 19:55:53 +02:00
2022-09-05 10:25:06 +02:00
2017-10-03 17:54:24 -07:00
2022-03-08 19:01:58 +01:00
2020-06-30 15:38:08 -04:00
2019-06-15 11:54:51 +02:00
2021-11-26 11:40:40 +01:00
2017-11-02 11:10:55 +01:00
2023-08-11 11:33:32 +02:00
2017-11-02 11:10:55 +01:00
2018-05-16 10:10:27 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-10-01 13:12:46 +02:00
2023-08-11 11:33:32 +02:00
2023-04-20 12:02:11 +02:00
2018-12-08 13:03:40 +01:00
2019-10-11 18:18:34 +02:00
2022-05-15 19:40:27 +02:00
2023-02-06 07:46:35 +01:00
2018-09-19 22:43:48 +02:00
2020-06-03 08:18:11 +02:00
2017-07-10 16:32:31 -07:00
2021-04-07 12:47:03 +02:00
2021-06-03 08:36:10 +02:00
2017-11-02 11:10:55 +01:00
2018-12-01 09:42:54 +01:00
2022-06-06 08:20:57 +02:00
2018-09-05 09:26:30 +02:00