On Tue, Oct 18, 2022 at 04:53:50PM +0200, Juergen Gross wrote: >> If we don't need the IS_ENABLED is not needed I'm all for dropping it. >> But unless I misread the code, on arm/arm64 even PV guests are 1:1 >> mapped so that all Linux physically contigous memory also is Xen >> contigous, so we don't need the hack. > > There are no PV guests on arm/arm64. Ok, that's the part I was missing. In that case we should be fine without the IS_ENABLED indeed.