x86/mm: out-of-memory errors in p2m ops
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | x86/mm: use bool_t for flags in shadow-pagetable structsxen/ | +11 | 0 replies | |
| 2/5 | x86/mm: warn if we ever run out of shadow/hap pool for p2m/lgd ops.xen/ xen/ xen/ | +15 | 2 replies | |
| 3/5 | x86/ept: check for errors in a few callers of ept_set_entry.xen/ | +15 | 0 replies | |
| 4/5 | x86/mem_sharing: check for errors in p2m->set_entry().xen/ | +8 | 3 replies | |
| 5/5 | x86/mem_access: check for errors in p2m->set_entry().xen/ | +18 | 1 reply |
Reviews trailers per patch
2 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andres Lagar-Cavilla | Jan Beulich | Aravindh Puthiyaparambil |
|---|---|---|---|
| Series | A-b | ||
| 1/5 | |||
| 2/5 | |||
| 3/5 | |||
| 4/5 | A-b | ||
| 5/5 | A-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 3 reviewers.
Cover letter [PATCH 0/5] x86/mm: out-of-memory errors in p2m ops
These patches begin to address error handling when the shadow/hap pool can't allocate any more p2m pages.
Patch 1 is a bit of preliminary tidying.
Patch 2 prints a warning on error so it can be diagnosed. Patches 3-5 add checks to direct callers of the p2m allocation functions.
With these patches applied, pool allocation errors will be propagated as far as the set_p2m_entry() interface. Unfortunately there are many callers of that that don't check the return code -- PoD and mem_paging are the major cuplrits, but there are other cases where the error is discarded further up the stack (e.g. some callers of set_mmio_p2m_entry()). Chasing those up is work for another day.
Cheers,
Tim.