Re: [PATCH 08/11] x86/shadow: reduce effort of hash calculation

2023-01-09 Thread Jan Beulich
On 06.01.2023 03:03, Andrew Cooper wrote: > On 05/01/2023 4:05 pm, Jan Beulich wrote: >> The "n" input is a GFN value and hence bounded by the physical address >> bits in use on a system. > > The one case where this isn't obviously true is in sh_audit().  It comes > from a real MFN in the system,

Re: [PATCH 08/11] x86/shadow: reduce effort of hash calculation

2023-01-05 Thread Andrew Cooper
On 05/01/2023 4:05 pm, Jan Beulich wrote: > The "n" input is a GFN value and hence bounded by the physical address > bits in use on a system. The one case where this isn't obviously true is in sh_audit().  It comes from a real MFN in the system, not a GFN, which will have the same property WRT PAD