Re: [Xen-devel] [PATCH 2/5] tmem: drop direct usage of opt_tmem

2016-03-15 Thread Jan Beulich
>>> On 14.03.16 at 21:29, wrote: > --- a/xen/common/page_alloc.c > +++ b/xen/common/page_alloc.c > @@ -652,7 +652,7 @@ static void __init setup_low_mem_virq(void) > static void check_low_mem_virq(void) > { > unsigned long avail_pages = total_avail_pages + > -(opt_tmem ? tmem_freeabl

[Xen-devel] [PATCH 2/5] tmem: drop direct usage of opt_tmem

2016-03-14 Thread Doug Goldstein
Don't use the opt_tmem variable to check if tmem is enabled, instead use the tmem_enabled() helper function everywhere. Signed-off-by: Doug Goldstein --- CC: Keir Fraser CC: Jan Beulich CC: Andrew Cooper CC: Konrad Rzeszutek Wilk --- xen/arch/x86/setup.c| 2 +- xen/common/memory.c |