|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3] xen/balloon: add late_initcall_sync() for initial ballooning done
On 30.10.21 01:44, Boris Ostrovsky wrote: On 10/29/21 6:18 PM, Marek Marczykowski-Górecki wrote:On Fri, Oct 29, 2021 at 05:46:18PM -0400, Boris Ostrovsky wrote:On 10/29/21 10:20 AM, Juergen Gross wrote:--- a/Documentation/ABI/stable/sysfs-devices-system-xen_memory +++ b/Documentation/ABI/stable/sysfs-devices-system-xen_memory @@ -84,3 +84,13 @@ Description:Control scrubbing pages before returning them to Xen for others domainsuse. Can be set with xen_scrub_pages cmdlineparameter. Default value controlled with CONFIG_XEN_SCRUB_PAGES_DEFAULT.+ +What: /sys/devices/system/xen_memory/xen_memory0/boot_timeout +Date: November 2021 +KernelVersion: 5.16 +Contact: xen-devel@xxxxxxxxxxxxxxxxxxxx +Description: + The time (in seconds) to wait before giving up to boot in case + initial ballooning fails to free enough memory. Applies only + when running as HVM or PVH guest and started with less memory + configured than allowed at max.How is this going to be used? We only need this during boot.- state = update_schedule(state); + balloon_state = update_schedule(balloon_state);Now that balloon_state has whole file scope it can probably be updated inside update_schedule(). BP_EAGAIN should not stop waiting, as it might be intermediate in case some caches or buffers are freed. Juergen Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc Attachment:
OpenPGP_signature
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |