On 07/24/2016 06:56 AM, chengang@xxxxxxxxxxxxxxxx wrote:
From: Chen Gang <gang.chen.5i5j@xxxxxxxxx> For pure bool function's return value, bool is a little better more or less than int.
That's not exactly a bulletproof justification... At least provide a scripts/bloat-o-meter output?
Under source root directory, use `grep -rn Page * | grep "\<int\>"` to find the area that need be changed. For the related macro function definiations (e.g. TESTPAGEFLAG), they use xxx_bit which should be pure bool functions, too. But under most of architectures, xxx_bit are return int, which need be changed next.
Sounds like a large task. And until we know the arches will agree with this, this patch will bring just inconsistency?
Vlastimil -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>