Skip to content

Configurable order free page reporting in hyper-v

Shradha Gupta linux-hyperv linux-mm lkml llvm 1 version New

Get series with b4
b4 am 1664447081-14744-1-git-send-email-shradhagupta@linux.microsoft.com

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm/page_reporting: Add checks for page_reporting_order param valuemm/page_reporting.c+45 -50 replies
2/2hv_balloon: Add support for configurable order free page reportingdrivers/hv/hv_balloon.c+73 -210 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichael Kelley
SeriesR-b R-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Configurable order free page reporting in hyper-v

Configurable order free page reporting is enabled in page_reporting driver in mm tree. However, changes need to be made in drivers like hyper-v's hv_balloon to make it aware of the page order. These patches add support for the same.
In the page_reporting driver we export the page_reporting_order module parameter. Following precedence is added in setting the reporting order
a. Value of page_reporting_order parameter
b. Value of order passed while registering with the driver c. default value (pageblock_order)
Besides this, in the page_reporting module a check is added to ensure that whenever the page_reporting_order value is changed, it is within the prescribed limits.

The hv_balloon side changes include consuming the exported page_reporting_order. Making changes in reporting these variable order free pages as cold discard hints to hyper-v and dropping and refining checks that restrict the order to a minimum of 9(default).

Shradha Gupta (2):
mm/page_reporting: Add checks for page_reporting_order param value
hv_balloon: Add support for configurable order free page reporting

 drivers/hv/hv_balloon.c | 94 ++++++++++++++++++++++++++++++++---------
 mm/page_reporting.c 	 | 50 ++++++++++++++++++++++++++++++++++++++++-----
 2 file changed, 118 insertions(+), 26 deletions(-)
Signature · 1 line
2.37.2