Skip to content

xenpaging changes for xen-unstable

Olaf Hering xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21xenpaging: break endless loop during inital page-out with large pagefilestools/xenpaging/policy_default.c tools/xenpaging/xenpaging.c+33 -90 replies
2/21xenpaging: Open paging file only if xenpaging_init() succeedstools/xenpaging/xenpaging.c+9 -90 replies
3/21xenpaging: allow only one xenpaging binary per guesttools/xenpaging/xenpaging.c xen/arch/x86/mm/mem_event.c+18 -10 replies
4/21xenpaging: populate paged-out pages unconditionallyxen/common/grant_table.c+3 -20 replies
5/21xenpaging: add signal handlingtools/xenpaging/xenpaging.c+33 -93 replies
6/21xenpaging: print info when free request slots drop below 2xen/arch/x86/mm/mem_event.c+5 -00 replies
7/21xenpaging: print p2mt for already paged-in pagestools/xenpaging/xenpaging.c+2 -00 replies
8/21xenpaging: notify policy only on resumetools/xenpaging/xenpaging.c+5 -40 replies
9/21xenpaging: allow negative num_pages and limit num_pagestools/xenpaging/xenpaging.c+7 -20 replies
10/21xenpaging: when populating a page, check if populating is already in progressxen/arch/x86/mm/p2m.c+1 -10 replies
11/21xenpaging: optimize p2m_mem_paging_populatexen/arch/x86/mm/p2m.c+7 -20 replies
12/21xenpaging: print xenpaging cmdline optionstools/xenpaging/xenpaging.c+2 -00 replies
13/21xenpaging: handle temporary out-of-memory conditions during page-intools/xenpaging/xenpaging.c xen/arch/x86/mm/p2m.c+21 -80 replies
14/21xenpaging: increase recently used pages from 4MB to 64MBtools/xenpaging/policy_default.c+1 -10 replies
15/21xenpaging: update machine_to_phys_mapping during page-in and page deallocationxen/arch/x86/mm/p2m.c xen/common/page_alloc.c+20 -40 replies
16/21xenpaging: drop paged pages in guest_remove_pagetools/xenpaging/xenpaging.c xen/arch/x86/mm/p2m.c xen/common/memory.c +2 more+75 -210 replies
17/21xenpaging: handle HVMCOPY_gfn_paged_out in copy_from/to_userxen/arch/x86/hvm/hvm.c xen/common/memory.c+43 -50 replies
18/21xenpaging: prevent page-out of first 16MBtools/xenpaging/policy_default.c+3 -23 replies
19/21xenpaging: start xenpaging via config optiontools/examples/xmexample.hvm tools/python/README.XendConfig tools/python/README.sxpcfg +5 more+111 -00 replies
20/21xenpaging: add dynamic startup delay for xenpagingtools/python/xen/xend/image.py+32 -00 replies
21/21xenpaging: (sparse) documenationdocs/misc/xenpaging.txt+48 -01 reply

Reviews trailers per patch

1 of 21 patches has a Reviewed-by or Acked-by.

PatchPatrick ColpKeir FraserIan Jackson
1/21Already-Acked-by Already-Acked-by
2/21Already-Acked-by Already-Acked-by
3/21Already-Acked-by Already-Acked-by
4/21
5/21
6/21
7/21
8/21
9/21
10/21
11/21
12/21
13/21
14/21
15/21
16/21
17/21
18/21
19/21
20/21
21/21A-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.

Read the v1 thread

Cover letter [PATCH 00/21] xenpaging changes for xen-unstable

Here are some changes for xenpaging in xen-unstable.

Patches 1 to 14 are likely non-controversial and could be applied. All later patches need more review (15/16), and more work from my side (17+).

With a similar series of changes for 4.0.1 my testcase, which is a continuous reboot of a Linux guest, passes now. It ran for more than 1000 iterations and exercised the early bootcode.

There are still some issues like guests not starting up when running the reboot loop with 4x1G guests parallel on a 4GB box with all guest memory paged. This seems to happen when the guest initially needs the full 1G until xenpaging frees that memory again.

Other than that, xenpaging is now more mature.
I havent seen data corruption anymore.

Olaf