Re: [PATCH v6 1/3] xenbus/backend: Add memory pressure handler callback

From: JÃrgen GroÃ
Date: Wed Dec 11 2019 - 07:30:08 EST


On 11.12.19 12:46, Roger Pau Monnà wrote:
On Wed, Dec 11, 2019 at 04:26:57AM +0000, SeongJae Park wrote:
+
return 0;
}
subsys_initcall(xenbus_probe_backend_init);
diff --git a/include/xen/xenbus.h b/include/xen/xenbus.h
index 869c816d5f8c..196260017666 100644
--- a/include/xen/xenbus.h
+++ b/include/xen/xenbus.h
@@ -104,6 +104,7 @@ struct xenbus_driver {
struct device_driver driver;
int (*read_otherend_details)(struct xenbus_device *dev);
int (*is_ready)(struct xenbus_device *dev);
+ void (*reclaim)(struct xenbus_device *dev);

reclaim_memory (if Juergen agrees).

I do agree.


Juergen