Skip to content

HWPOISON 2.6.33 pre-merge posting

Andi Kleen linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest31 patches 29 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/31HWPOISON: Add Andi Kleen as hwpoison maintainer to MAINTAINERSMAINTAINERS+9 -00 replies
2/31HWPOISON: Be more aggressive at freeing non LRU cachesinclude/linux/mm.h mm/memory-failure.c+23 -00 replies
3/31page-types: add standard GPL license headerDocumentation/vm/page-types.c+13 -20 replies
4/31HWPOISON: remove the anonymous entrymm/memory-failure.c+0 -10 replies
5/31HWPOISON: return ENXIO on invalid page numbermm/memory-failure.c+6 -60 replies
6/31HWPOISON: avoid grabbing the page count multiple times during madvise injectionmm/madvise.c mm/memory-failure.c+4 -50 replies
7/31HWPOISON: Turn ref argument into flags argumentinclude/linux/mm.h mm/madvise.c mm/memory-failure.c+8 -40 replies
8/31HWPOISON: abort on failed unmapmm/memory-failure.c+15 -50 replies
9/31HWPOISON: comment the possible set_page_dirty() racemm/memory-failure.c+2 -00 replies
10/31HWPOISON: comment dirty swapcache pagesmm/memory.c+4 -00 replies
11/31HWPOISON: introduce delete_from_lru_cache()mm/memory-failure.c+37 -80 replies
12/31HWPOISON: remove the free buddy page handlermm/memory-failure.c+4 -100 replies
13/31HWPOISON: detect free buddy pages explicitlymm/internal.h mm/memory-failure.c mm/page_alloc.c+31 -20 replies
14/31HWPOISON: Add unpoisoning supportDocumentation/vm/hwpoison.txt include/linux/mm.h include/linux/page-flags.h +2 more+114 -90 replies
15/31HWPOISON: make semantics of IGNORED/DELAYED clearmm/memory-failure.c+7 -150 replies
16/31HWPOISON: return 0 to indicate success reliablymm/memory-failure.c+6 -20 replies
17/31HWPOISON: add fs/device filtersDocumentation/vm/hwpoison.txt mm/hwpoison-inject.c mm/internal.h +1 more+72 -00 replies
18/31HWPOISON: limit hwpoison injector to known page typesDocumentation/vm/hwpoison.txt mm/hwpoison-inject.c mm/internal.h+43 -30 replies
19/31mm: export stable page flagsfs/proc/page.c include/linux/kernel-page-flags.h include/linux/page-flags.h+51 -426 replies
20/31HWPOISON: add page flags filterDocumentation/vm/hwpoison.txt mm/hwpoison-inject.c mm/internal.h +1 more+42 -00 replies
21/31memcg: rename and export try_get_mem_cgroup_from_page()include/linux/memcontrol.h mm/memcontrol.c+10 -70 replies
22/31memcg: add accessor to mem_cgroup.cssinclude/linux/memcontrol.h mm/memcontrol.c+12 -00 replies
23/31HWPOISON: add memory cgroup filterDocumentation/vm/hwpoison.txt mm/hwpoison-inject.c mm/internal.h +1 more+66 -010 replies
24/31HWPOISON: add an interface to switch off/on all the page filtersmm/hwpoison-inject.c mm/internal.h mm/memory-failure.c+11 -00 replies
25/31HWPOISON: Don't do early filtering if filter is disabledmm/hwpoison-inject.c+3 -00 replies
26/31HWPOISON: mention HWPoison in Kconfig entrymm/Kconfig+1 -10 replies
27/31HWPOISON: Use correct name for MADV_HWPOISON in documentationDocumentation/vm/hwpoison.txt+1 -10 replies
28/31HWPOISON: Use new shake_page in memory_failuremm/memory-failure.c+8 -10 replies
29/31HWPOISON: Undefine short-hand macros after use to avoid namespace conflictmm/memory-failure.c+13 -00 replies
30/31HWPOISON: Add soft page offline supportDocumentation/ABI/testing/sysfs-memory-page-offline drivers/base/memory.c include/linux/mm.h +2 more+297 -70 replies
31/31HWPOISON: Add a madvise() injector for soft page offlininginclude/asm-generic/mman-common.h mm/madvise.c+13 -313 replies

Reviews trailers per patch

3 of 31 patches have a Reviewed-by or Acked-by.

PatchKAMEZAWA HiroyukiMatt Mackall
1/31
2/31
3/31
4/31
5/31
6/31
7/31
8/31
9/31
10/31
11/31
12/31
13/31
14/31
15/31
16/31
17/31
18/31
19/31A-b A-b
20/31
21/31A-b
22/31A-b
23/31
24/31
25/31
26/31
27/31
28/31
29/31
30/31
31/31

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] [0/31] HWPOISON 2.6.33 pre-merge posting

These are the hwpoison updates for 2.6.33
I plan to send the following patchkit to Linus in a few days. Any additional review would be appreciated.

Major new features:
- Be more aggressive at flushing caches to get access to a page
- Various fixes for the core memory_failure path
- Handle free memory better by detecting higher-order buddy pages reliably too.
- Reliable return value for memory_failure. This allows to implement some other functionality later on.
- New soft offlining feature:
Offline a page without killing a process.
This allows to implement predictive failure analysis for memory, by watching error trends per page and offlining a page that has too many corrected errors. The policy is all in user space; the kernel just offlines the page and reports the errors.
The current git mcelog has support for using this interface.
- Provide a new sysfs interface for both hard and soft offlining. The existing debugfs interface is still there.
- unpoison support
Unpoison a page. This is mainly for testing, it does not do unpoisioning on the hardware level.
- hwpoison filter
Various filters to the hwpoison PFN error injection, including memcg, page type, block device and others.
This is used by the mce-test stress suite to protect the test suite itself and

This touches some code outside hwpoison, mostly for the memcg support and for the page types. All these changes are straight-forward, are in linux-next and have been posted before.

-Andi