]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
hv_balloon: set unspecified page reporting order
authorYuvraj Sakshith <yuvraj.sakshith@oss.qualcomm.com>
Tue, 3 Mar 2026 11:30:30 +0000 (03:30 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 5 Apr 2026 20:53:17 +0000 (13:53 -0700)
Explicitly mention page reporting order to be set to default value using
PAGE_REPORTING_ORDER_UNSPECIFIED fallback value.

Link: https://lkml.kernel.org/r/20260303113032.3008371-4-yuvraj.sakshith@oss.qualcomm.com
Signed-off-by: Yuvraj Sakshith <yuvraj.sakshith@oss.qualcomm.com>
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Cc: Brendan Jackman <jackmanb@google.com>
Cc: Dexuan Cui <decui@microsoft.com>
Cc: Eugenio Pérez <eperezma@redhat.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Long Li <longli@microsoft.com>
Cc: Lorenzo Stoakes (Oracle) <ljs@kernel.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Wei Liu <wei.liu@kernel.org>
Cc: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/hv/hv_balloon.c

index a848400a59a2d57fe9a484abdf9eadf7eccccb7b..9a55f5c43307306597ba682a26e40136c5307aca 100644 (file)
@@ -1663,7 +1663,7 @@ static void enable_page_reporting(void)
         * We let the page_reporting_order parameter decide the order
         * in the page_reporting code
         */
-       dm_device.pr_dev_info.order = 0;
+       dm_device.pr_dev_info.order = PAGE_REPORTING_ORDER_UNSPECIFIED;
        ret = page_reporting_register(&dm_device.pr_dev_info);
        if (ret < 0) {
                dm_device.pr_dev_info.report = NULL;