Skip to content

HWPoison: Refactor get page interface

Oscar Salvador linux-mm lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew 2 of 3 applied
  2. v17 patches 18 repliesSuperseded

Changes in v2 from the cover letter

- Adressed feedback from Vlastimil
- Add Acked-by from Vlastimil

Patches in v2 2 of 3 applied

#Subject and filesSizeRepliesApplied
1/3mm,hwpoison: Refactor get_any_pagemm/memory-failure.c+42 -570 replies
2/3mm,hwpoison: Disable pcplists before grabbing a refcountmm/memory-failure.c+65 -670 repliesApplied
3/3mm,hwpoison: Remove drain_all_pages from shake_pagemm/memory-failure.c+2 -50 repliesApplied

Reviews trailers per patch

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

PatchNaoya HoriguchiVlastimil Babka
1/3A-b A-b
2/3A-b A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] HWPoison: Refactor get page interface

Ok, this is v2.
I left out the MF_COUNT_INCREASED changes as we need to have the pages pinned when coming from madvise, otherwise we might be messing with a page which belongs to someone else.

I ran several tests [1] [2] to make sure nothing is broken.

@Andrew: Please, remove [3] from mmotm and linux-next and replace it
with this one.

Thanks

[1] https://github.com/Naoya-Horiguchi/mm_regression
[2] https://e.coding.net/cailca/linux/mm
[3] https://patchwork.kernel.org/project/linux-mm/cover/[email protected]/

V1 -> V2:
- Adressed feedback from Vlastimil
- Add Acked-by from Vlastimil

Oscar Salvador (3):
mm,hwpoison: Refactor get_any_page
mm,hwpoison: Disable pcplists before grabbing a refcount mm,hwpoison: Remove drain_all_pages from shake_page

 mm/memory-failure.c | 168 +++++++++++++++++++-------------------------
 1 file changed, 74 insertions(+), 94 deletions(-)
Signature · 1 line
2.26.2