Skip to content

THP: page collapsing vs. poisoning

Hidetoshi Seto lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Lock the new THP when collapsing pagesmm/huge_memory.c+7 -00 replies
2/4Free the collapsed pages after the new THP is mapped.mm/huge_memory.c+25 -60 replies
3/4Check whether pages are poisoned before copyingmm/huge_memory.c+23 -414 replies
4/4Check whether the new THP is poisoned before it is mapped to APL.mm/huge_memory.c+12 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] THP: page collapsing vs. poisoning

This patch set will improve system availability by allowing us to avoid system panic in some special cases during page collapsing:
replacing a chunk of normal pages by a THP(Transparent Huge Page).

Hidetoshi Seto (4):
Lock the new THP when collapsing pages
Free the collapsed pages after the new THP is mapped. Check whether pages are poisoned before copying
Check whether the new THP is poisoned before it is mapped to APL.

 mm/huge_memory.c |   75 ++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 65 insertions(+), 10 deletions(-)