Joao Martins
61e28cf054
memory-failure: fetch compound_head after pgmap_pfn_valid()
...
memory_failure_dev_pagemap() at the moment assumes base pages (e.g.
dax_lock_page()). For devmap with compound pages fetch the
compound_head in case a tail page memory failure is being handled.
Currently this is a nop, but in the advent of compound pages in
dev_pagemap it allows memory_failure_dev_pagemap() to keep working.
Without this fix memory-failure handling (i.e. MCEs on pmem) with
device-dax configured namespaces will regress (and crash).
Link: https://lkml.kernel.org/r/20211202204422.26777-2-joao.m.martins@oracle.com
Reported-by: Jane Chu <jane.chu@oracle.com>
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2022-01-30 09:56:58 +02:00
..
2022-01-15 16:30:33 +02:00
2022-01-22 08:33:38 +02:00
2022-01-10 11:58:12 -08:00
2021-12-10 17:10:56 -08:00
2021-05-07 00:26:35 -07:00
2022-01-06 12:27:03 +01:00
2021-05-05 11:27:21 -07:00
2021-05-05 11:27:24 -07:00
2021-11-06 13:30:41 -07:00
2021-05-05 11:27:24 -07:00
2022-01-15 16:30:30 +02:00
2017-11-02 11:10:55 +01:00
2022-01-15 16:30:28 +02:00
2022-01-15 16:30:26 +02:00
2022-01-15 16:30:28 +02:00
2021-09-08 11:50:24 -07:00
2020-10-13 18:38:29 -07:00
2019-07-12 11:05:43 -07:00
2022-01-22 11:28:23 +02:00
2022-01-04 13:15:34 -05:00
2022-01-22 08:33:38 +02:00
2021-05-05 11:27:26 -07:00
2021-05-05 11:27:26 -07:00
2022-01-15 16:30:26 +02:00
2021-11-25 10:13:56 -08:00
2022-01-15 16:30:31 +02:00
2022-01-15 20:37:06 +02:00
2022-01-15 16:30:29 +02:00
2021-06-30 20:47:26 -07:00
2021-06-30 20:47:25 -07:00
2022-01-15 16:30:28 +02:00
2021-09-03 09:58:15 -07:00
2021-07-08 11:48:21 -07:00
2022-01-15 20:37:06 +02:00
2021-04-30 11:20:38 -07:00
2021-04-30 11:20:39 -07:00
2021-09-08 11:50:24 -07:00
2022-01-22 08:33:38 +02:00
2022-01-15 16:30:28 +02:00
2022-01-15 20:37:06 +02:00
2022-01-15 16:30:25 +02:00
2022-01-15 16:30:31 +02:00
2021-11-06 13:30:35 -07:00
2021-08-20 11:39:25 +01:00
2022-01-15 16:30:27 +02:00
2022-01-22 08:33:38 +02:00
2022-01-15 16:30:27 +02:00
2021-11-10 11:29:30 -08:00
2022-01-15 20:37:06 +02:00
2021-11-09 10:02:48 -08:00
2021-12-03 10:58:13 -08:00
2022-01-30 09:56:58 +02:00
2022-01-20 10:41:01 +02:00
2022-01-15 16:30:30 +02:00
2021-10-18 06:17:01 -06:00
2022-01-15 20:37:06 +02:00
2017-11-02 11:10:55 +01:00
2022-01-22 08:33:34 +02:00
2021-01-24 14:27:16 +01:00
2022-01-15 16:30:27 +02:00
2021-04-30 11:20:42 -07:00
2021-07-23 17:43:28 -07:00
2022-01-17 05:49:30 +02:00
2022-01-15 16:30:27 +02:00
2021-03-25 09:22:55 -07:00
2020-12-15 14:48:04 -08:00
2022-01-15 16:30:27 +02:00
2021-11-06 13:30:39 -07:00
2021-04-30 11:20:37 -07:00
2021-11-06 14:08:17 -07:00
2022-01-17 05:49:30 +02:00
2022-01-20 10:41:01 +02:00
2022-01-15 16:30:27 +02:00
2022-01-15 16:30:31 +02:00
2021-09-08 11:50:24 -07:00
2022-01-20 08:52:55 +02:00
2022-01-15 16:30:30 +02:00
2022-01-22 08:33:37 +02:00
2021-04-30 11:20:36 -07:00
2021-06-29 10:53:47 -07:00
2021-06-29 10:53:47 -07:00
2022-01-15 16:30:28 +02:00
2021-07-01 11:06:03 -07:00
2022-01-02 20:28:57 -05:00
2021-06-29 10:53:49 -07:00
2022-01-15 16:30:31 +02:00
2021-07-04 18:30:17 +00:00
2021-06-05 20:43:15 +00:00
2021-07-04 18:30:17 +00:00
2022-01-23 06:20:44 +02:00
2021-05-07 00:26:35 -07:00
2022-01-15 16:30:27 +02:00
2021-05-05 11:27:27 -07:00
2021-04-16 16:10:37 -07:00
2022-01-04 13:15:34 -05:00
2022-01-15 16:30:31 +02:00
2020-08-21 09:52:53 -07:00
2021-10-28 17:18:55 -07:00
2022-01-22 08:33:38 +02:00
2021-04-16 16:10:36 -07:00
2021-05-22 15:09:07 -10:00
2022-01-15 20:37:06 +02:00
2022-01-06 12:26:14 +01:00
2022-01-18 06:40:47 +02:00
2022-01-06 12:27:28 +01:00
2022-01-06 12:26:53 +01:00
2021-11-06 13:30:36 -07:00
2022-01-06 12:27:03 +01:00
2020-06-03 20:09:48 -07:00
2021-12-03 10:58:13 -08:00
2021-10-18 07:49:40 -04:00
2022-01-15 20:37:06 +02:00
2022-01-22 08:33:38 +02:00
2022-01-22 08:33:38 +02:00
2022-01-06 12:25:51 +01:00
2022-01-15 16:30:26 +02:00
2022-01-15 16:30:29 +02:00
2020-06-10 19:14:18 -07:00
2022-01-15 16:30:28 +02:00
2021-11-06 13:30:40 -07:00
2022-01-15 16:30:30 +02:00
2022-01-15 16:30:29 +02:00
2021-11-09 10:11:53 -08:00
2021-07-01 11:06:03 -07:00
2021-07-01 11:06:03 -07:00
2022-01-15 16:30:31 +02:00
2022-01-22 08:33:37 +02:00
2022-01-22 08:33:38 +02:00