RFC disable pcplists during page isolation
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 25 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mm, page_alloc: clean up pageset high and batch updatemm/ | +20 | 4 replies | |
| 2/5 | mm, page_alloc: calculate pageset high and batch once per zonemm/ | +17 | 2 replies | |
| 3/5 | mm, page_alloc(): remove setup_pageset()mm/ | +7 | 4 replies | |
| 4/5 | mm, page_alloc: cache pageset high and batch in struct zoneinclude/ mm/ | +15 | 2 replies | |
| 5/5 | mm, page_alloc: disable pcplists during page isolationinclude/ mm/ mm/ +2 more | +89 | 9 replies |
Reviews trailers per patch
3 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Oscar Salvador | David Hildenbrand |
|---|---|---|
| 1/5 | R-b | |
| 2/5 | R-b | R-b |
| 3/5 | R-b | R-b |
| 4/5 | ||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC 0/5] disable pcplists during page isolation
As per the discussions [1] [2] this is an attempt to implement David's suggestion that page isolation should disable pcplists to avoid races. This is done without extra checks in fast paths, as I mentioned should be possible in the discussion, and explained in patch 5. Patches 1-4 are preparatory cleanups.
Note this is untested RFC for now. Based on v5.9-rc4 plus Pavel's patch [2] (slated as a quick fix for mainline+stable).
[1] https://lore.kernel.org/linux-mm/[email protected]/
[2] https://lore.kernel.org/linux-mm/[email protected]/
Vlastimil Babka (5):
mm, page_alloc: clean up pageset high and batch update mm, page_alloc: calculate pageset high and batch once per zone mm, page_alloc(): remove setup_pageset()
mm, page_alloc: cache pageset high and batch in struct zone mm, page_alloc: disable pcplists during page isolation
include/linux/gfp.h | 1 + include/linux/mmzone.h | 2 + mm/internal.h | 4 ++ mm/memory_hotplug.c | 24 +++---- mm/page_alloc.c | 138 ++++++++++++++++++++++------------------- mm/page_isolation.c | 45 +++++++++++--- 6 files changed, 127 insertions(+), 87 deletions(-)
Signature · 1 line
2.28.0