xen/mm: Reset PFN_ORDER for offlined buddy heads
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v12 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xen/mm: reset PFN_ORDER for offlined buddy headsxen/ | +6 | 2 replies | |
| 2/2 | tools/tests/native: Add test for offlined buddy head PFN_ORDERtools/ | +74 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Jan Beulich |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] xen/mm: Reset PFN_ORDER for offlined buddy heads
This series fixes an inconsistency in the PFN_ORDER annotation for pages that are offlined when they are the head of a free buddy.
When reserve_offlined_page() splits a buddy and moves offlined sub-pages to the offlined lists, the former buddy head would be left annotated with its original order even though it is now a single page. While this does not cause functional regressions, it is misleading.
You can pull this series with the regression test environment to run it:
$ git pull [email protected]:bernhardkaindl/xen.git offline-head-order-v2 $ make -C tools/tests/native TARGETS=offline-head-order test
Bernhard Kaindl (2):
xen/mm: reset PFN_ORDER for offlined buddy heads tools/tests/native: Add test for offlined buddy head PFN_ORDER
tools/tests/native/offline-head-order.c | 74 +++++++++++++++++++++++++ xen/common/page_alloc.c | 6 ++ 2 files changed, 80 insertions(+) create mode 100644 tools/tests/native/offline-head-order.c
Signature · 1 line
2.39.5