Skip to content

hwpoison fixes and stress testing filters

Wu Fengguang linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest24 patches 36 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/24page-types: add standard GPL license headDocumentation/vm/page-types.c+13 -21 reply
2/24migrate: page could be locked by hwpoison, dont BUG()mm/migrate.c+1 -13 replies
3/24HWPOISON: remove the anonymous entrymm/memory-failure.c+0 -10 replies
4/24HWPOISON: return ENXIO on invalid pfnmm/memory-failure.c+6 -60 replies
5/24HWPOISON: avoid grabbing page for two timesmm/madvise.c mm/memory-failure.c+4 -50 replies
6/24HWPOISON: abort on failed unmapmm/memory-failure.c+14 -53 replies
7/24HWPOISON: comment the possible set_page_dirty() racemm/memory-failure.c+2 -00 replies
8/24HWPOISON: comment dirty swapcache pagesmm/memory.c+4 -00 replies
9/24HWPOISON: introduce delete_from_lru_cache()mm/memory-failure.c+37 -80 replies
10/24HWPOISON: remove the free buddy page handlermm/memory-failure.c+0 -92 replies
11/24HWPOISON: detect free buddy pages explicitlymm/internal.h mm/memory-failure.c mm/page_alloc.c+31 -20 replies
12/24HWPOISON: make it possible to unpoison pagesinclude/linux/mm.h include/linux/page-flags.h mm/hwpoison-inject.c +1 more+79 -75 replies
13/24HWPOISON: introduce struct hwpoison_controlmm/memory-failure.c+65 -431 reply
14/24HWPOISON: return 0 if page is assured to be isolatedmm/memory-failure.c+14 -142 replies
15/24HWPOISON: add fs/device filtersmm/hwpoison-inject.c mm/internal.h mm/memory-failure.c+62 -00 replies
16/24HWPOISON: limit hwpoison injector to known page typesmm/hwpoison-inject.c mm/internal.h+28 -11 reply
17/24mm: export stable page flagsfs/proc/page.c include/linux/kernel-page-flags.h include/linux/page-flags.h+51 -421 reply
18/24HWPOISON: add page flags filtermm/hwpoison-inject.c mm/internal.h mm/memory-failure.c+30 -00 replies
19/24memcg: rename and export try_get_mem_cgroup_from_page()include/linux/memcontrol.h mm/memcontrol.c+10 -71 reply
20/24memcg: add accessor to mem_cgroup.cssinclude/linux/memcontrol.h mm/memcontrol.c+12 -00 replies
21/24cgroup: define empty css_put() when !CONFIG_CGROUPSinclude/linux/cgroup.h+3 -03 replies
22/24HWPOISON: add memory cgroup filtermm/Kconfig mm/hwpoison-inject.c mm/internal.h +1 more+32 -111 replies
23/24HWPOISON: add an interface to switch off/on all the page filtersmm/hwpoison-inject.c mm/internal.h mm/memory-failure.c+10 -00 replies
24/24HWPOISON: show corrupted file infomm/memory-failure.c+43 -02 replies

Reviews trailers per patch

2 of 24 patches have a Reviewed-by or Acked-by.

PatchKAMEZAWA Hiroyuki
1/24
2/24
3/24
4/24
5/24
6/24
7/24
8/24
9/24
10/24
11/24
12/24
13/24
14/24
15/24
16/24
17/24
18/24
19/24A-b
20/24A-b
21/24
22/24
23/24
24/24

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

Read the v1 thread

Cover letter [PATCH 00/24] hwpoison fixes and stress testing filters

Hi,

I'd like to submit the following patches for review. They mainly falls into two catalogs:

- hwpoison fixes and cleanups we collected over time

[PATCH 01/24] page-types: add standard GPL license head [PATCH 02/24] migrate: page could be locked by hwpoison, dont BUG() [PATCH 03/24] HWPOISON: remove the anonymous entry [PATCH 04/24] HWPOISON: return ENXIO on invalid pfn [PATCH 05/24] HWPOISON: avoid grabbing page for two times [PATCH 06/24] HWPOISON: abort on failed unmap
[PATCH 07/24] HWPOISON: comment the possible set_page_dirty() race [PATCH 08/24] HWPOISON: comment dirty swapcache pages [PATCH 09/24] HWPOISON: introduce delete_from_lru_cache() [PATCH 10/24] HWPOISON: remove the free buddy page handler [PATCH 11/24] HWPOISON: detect free buddy pages explicitly

- conditional hwpoison injection filters for stress testing

[PATCH 12/24] HWPOISON: make it possible to unpoison pages
[PATCH 13/24] HWPOISON: introduce struct hwpoison_control
[PATCH 14/24] HWPOISON: return 0 if page is assured to be isolated [PATCH 15/24] HWPOISON: add fs/device filters
[PATCH 16/24] HWPOISON: limit hwpoison injector to known page types [PATCH 17/24] mm: export stable page flags
[PATCH 18/24] HWPOISON: add page flags filter
[PATCH 19/24] memcg: rename and export try_get_mem_cgroup_from_page() [PATCH 20/24] memcg: add accessor to mem_cgroup.css
[PATCH 21/24] cgroup: define empty css_put() when !CONFIG_CGROUPS [PATCH 22/24] HWPOISON: add memory cgroup filter
[PATCH 23/24] HWPOISON: add an interface to switch off/on all the page filters [PATCH 24/24] HWPOISON: show corrupted file info

 Documentation/vm/page-types.c     |   15 -
 fs/proc/page.c                    |   45 ---
 include/linux/cgroup.h            |    3 
 include/linux/kernel-page-flags.h |   46 +++
 include/linux/memcontrol.h        |   13 
 include/linux/mm.h                |    1 
 include/linux/page-flags.h        |    4 
 mm/Kconfig                        |    3 
 mm/hwpoison-inject.c              |   89 +++++-
 mm/internal.h                     |   12 
 mm/madvise.c                      |    1 
 mm/memcontrol.c                   |   16 -
 mm/memory-failure.c               |  392 ++++++++++++++++++++++------
 mm/memory.c                       |    4 
 mm/migrate.c                      |    2 
 mm/page_alloc.c                   |   21 +
 16 files changed, 532 insertions(+), 135 deletions(-)

Thanks,
Fengguang