Messages in this thread | | | From | linmiaohe <> | Subject | Re: [PATCH] KVM: avoid unnecessary bitmap clear ops | Date | Fri, 25 Oct 2019 09:49:31 +0000 |
| |
On 25/10/19 17:43, Paolo wrote: > On 25/10/19 04:24, Miaohe Lin wrote: >> 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; > >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.
> >Thanks, > >Paolo >
| |