Re: [PATCH v2 2/3] lib: Introduce 2 bit ops api: all_is_bit_{one,zero}

From: yalin wang
Date: Thu Nov 19 2015 - 03:50:09 EST



> On Nov 19, 2015, at 14:48, Jia He <hejianet@xxxxxxxxx> wrote:
>
>
why not use memcmp() to compare with 0x0000000 or 0xffffffff ?
memcmp() have better performance on some platforms .

Thanks

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/