Fix some bugs about HugeTLB code
Status from this message: [merged] mm-hugetlb-fix-a-race-between-freeing-and-dissolving-the-page.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest5 patches 4 repliesApplied 5/5
- v55 patches 4 repliesSuperseded
- v46 patches 14 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 6 patches | 32 replies | Superseded | |
| v2 | 6 patches | 49 replies | Superseded | |
| v1 | 6 patches | 25 replies | Superseded |
Changes in v6 from the cover letter
- Simplify patch #3 and update commit changelog.
Patches in v6 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mm: migrate: do not migrate HugeTLB page whose refcount is onemm/ | +6 | 0 replies | Applied |
| 2/5 | mm: hugetlbfs: fix cannot migrate the fallocated HugeTLB pagefs/ include/ mm/ | +5 | 0 replies | Applied |
| 3/5 | mm: hugetlb: fix a race between freeing and dissolving the pagemm/ | +39 | 2 replies | Applied |
| 4/5 | mm: hugetlb: fix a race between isolating and freeing pagemm/ | +2 | 1 reply | Applied |
| 5/5 | mm: hugetlb: remove VM_BUG_ON_PAGE from page_huge_activemm/ | +1 | 1 reply | Applied |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Mike Kravetz | Yang Shi | Michal Hocko | David Hildenbrand | Oscar Salvador |
|---|---|---|---|---|---|
| 1/5 | R-b | A-b | A-b | R-b | R-b |
| 2/5 | R-b | A-b | R-b | ||
| 3/5 | R-b | A-b | R-b | ||
| 4/5 | R-b | A-b | R-b | ||
| 5/5 | R-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 5 reviewers.
Cover letter [PATCH v6 0/5] Fix some bugs about HugeTLB code
This patch series aims to fix some bugs and add some improvements.
Changelog since v5 -> v6:
- Simplify patch #3 and update commit changelog.
Changelog since v4 -> v5:
- Squash "mm: hugetlb: retry dissolve page when hitting race" to "mm: hugetlb: fix a race between freeing and dissolving the page"
Changelog since v3 -> v4:
- Update commit log of patch #1.
- Drop "mm: hugetlb: add return -EAGAIN for dissolve_free_huge_page"
- Add "mm: hugetlb: retry dissolve page when hitting race"
Changelog since v2 -> v3:
- Update commit log.
- Using head[3].private to indicate the page is freed in patch #3.
Changelog since v1 -> v2:
- Export set_page_huge_active() in patch #2 to fix.
- Using head[3].mapping to indicate the page is freed in patch #3.
- Flush @free_hpage_work in patch #4.
Muchun Song (5):
mm: migrate: do not migrate HugeTLB page whose refcount is one
mm: hugetlbfs: fix cannot migrate the fallocated HugeTLB page
mm: hugetlb: fix a race between freeing and dissolving the page
mm: hugetlb: fix a race between isolating and freeing page
mm: hugetlb: remove VM_BUG_ON_PAGE from page_huge_active
fs/hugetlbfs/inode.c | 3 ++- include/linux/hugetlb.h | 2 ++ mm/hugetlb.c | 48 +++++++++++++++++++++++++++++++++++++++++++----- mm/migrate.c | 6 ++++++ 4 files changed, 53 insertions(+), 6 deletions(-)
Signature · 1 line
2.11.0