Skip to content

Make HWPoison helpers config-independent

Kaitao Cheng linux-mm lkml nvdimm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review 1 of 2 applied

Patches in v1 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2mm/page-flags: Define HWPoison test-and-change helpers unconditionallyinclude/linux/page-flags.h+1 -04 repliesApplied
2/2nvdimm/pmem: Remove test_and_clear_pmem_poison()drivers/nvdimm/pmem.c drivers/nvdimm/pmem.h+1 -135 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMuchun SongDavid Hildenbrand (Arm)Oscar Salvador
1/2A-b A-b A-b R-b
2/2A-b A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] Make HWPoison helpers config-independent

Make the HWPoison page flag's test-and-set and test-and-clear accessors available regardless of CONFIG_MEMORY_FAILURE. When memory failure handling is disabled, the accessors return false, matching the absence of HWPoison state and providing a consistent interface across configurations.

Use the config-independent interface in the pmem driver to remove its private test_and_clear_pmem_poison() wrapper and the associated header dependency. No functional change is intended.

Kaitao Cheng (2):
mm/page-flags: Define HWPoison test-and-change helpers unconditionally nvdimm/pmem: Remove test_and_clear_pmem_poison()

 drivers/nvdimm/pmem.c      |  2 +-
 drivers/nvdimm/pmem.h      | 12 ------------
 include/linux/page-flags.h |  1 +
 3 files changed, 2 insertions(+), 13 deletions(-)
Signature · 1 line
2.50.1 (Apple Git-155)