KVM: avoid unnecessary bitmap clear ops
Quoted 11 lines · Paolo
Quoted 1 line · Miaohe Lin
When set one bit in bitmap, there is no need to clear it before.
Hi,
in general the Linux coding style prefers:
a = x; if (...); a = y;
Quoted 8 lines
to
if (...) a = y; else a = x;which is why these lines were written this way.
Many thanks for your explanation. I see.
Have a nice day.
Quoted 5 lines
Thanks,
Paolo