On 10/24/19 10:14 AM, Paolo Bonzini wrote: > On 24/10/19 16:06, Richard Henderson wrote: >> Richard confused ROUND_UP with QEMU_ALIGN_UP. > > Uh, those are both really badly named. Especially considering that > DIV_ROUND_UP divides the result of QEMU_ALIGN_UP. Should we consider > swapping them?!?
Perhaps not swapping, but perhaps renaming ROUND_UP to POW2_ROUND_UP or something. I dunno, naming is hard. :-P r~