Re: cmsg newgroup alt.sex.fetish.bool (was Re: [PATCH] arch: all: include: asm: bitops: Use bool instead of int for all bit test functions)
From: Chen Gang
Date: Fri Sep 02 2016 - 19:32:37 EST
On 9/2/16 04:43, Al Viro wrote:
> On Tue, Aug 30, 2016 at 05:49:05AM +0800, Chen Gang wrote:
>
>> Could you provide the related proof?
>>
>> Or shall I try to analyze about it and get proof?
>
> Can you show a proof that it actually improves anything? He who proposes
> a patch gets to defend it, not the other way round...
>
> Al, bloody annoyed
>
OK, what you said sounds reasonable to me.
It makes the code more readable since they are really pure Boolean
functions, and let the functions are precisely same in all archs. But
really, I shall try to prove that it has no negative effect.
e.g. for arc arch. now, I have built the arc raw compiler to build arc
kernel, but excuse me, I plan to finish proof next week, because during
these days, I have to work, buy house, and focus on my father's health.
Thanks.
--
Chen Gang (éå)
Managing Natural Environments is the Duty of Human Beings.