[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 4 of 4] xenpaging: initial libxl support
On Mon, Nov 07, Stefano Stabellini wrote: > On Mon, 7 Nov 2011, Olaf Hering wrote: > > > If tot_memkb is the pod target of the domain, we should be coherent and > > > set it equal to target_memkb when paging is inactive. > > > > So far PoD and paging are unrelated and mean different things. > > I think the difference between max_memkb and tot_memkb could be the > > trigger to start paging. > > Yes, I think it would be better. I have to disagree here. After looking at the code in parse_config_data(), tot_memkb is only set if actmem= is listed in the configfile. And if actmem= is set, its the trigger to run xenpaging and let it work toward the specified number. So checking for a non-null tot_memkb in create_xenpaging() looks like the correct way to me to decide wether xenpaging should be started. Olaf _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |