[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 3/5] x86/xstate: Rework xstate_ctxt_size() as xstate_uncompressed_size()
On 03.05.2021 17:39, Andrew Cooper wrote: > @@ -568,16 +568,38 @@ static unsigned int hw_uncompressed_size(uint64_t xcr0) > return size; > } > > -/* Fastpath for common xstate size requests, avoiding reloads of xcr0. */ > -unsigned int xstate_ctxt_size(u64 xcr0) > +unsigned int xstate_uncompressed_size(uint64_t xcr0) Since you rewrite the function anyway, and since taking into account the XSS-controlled features here is going to be necessary as well (even if just down the road, but that's what your ultimate goal is from all I can tell), how about renaming the parameter to "xstates" or "states" at the same time? Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |