On 06/12/2022 13:54, Jan Beulich wrote: > By defining the constant to zero when !SHADOW_PAGING we give compilers > the chance to eliminate a little more dead code elsewhere in the tree. > Plus, as a minor benefit, the general reference count can be one bit > wider. (To simplify things, have PGC_shadowed_pt change places with > PGC_extra.) > > Signed-off-by: Jan Beulich <[email protected]>
Acked-by: Andrew Cooper <[email protected]> Coverity is going to complain some more. I've still not figured out a way to get it to ignore "AND with something that's compile-time-conditionally-0", but we have this pattern elsewhere. ~Andrew
