Re: [kvm-unit-tests PATCH v1 2/2] s390x: add cmm migration test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2022-05-10 at 15:45 +0200, Claudio Imbrenda wrote:
> ok, next less ugly thing: unroll the loop
> 
> for (i = 0; i < NUM_PAGES; i += 4) {
>         essa(ESSA_SET_STABLE, (unsigned long)pagebuf[i]);
>         essa(ESSA_SET_UNUSED, (unsigned long)pagebuf[i + 1]);
>         ... etc
> }
> 
> maybe assert(NUM_PAGES % 4 == 0) before that, just for good measure

That's nicer, thanks, fixed.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux