Re: [PATCH] cpuset.c : Removes extra variable

From: Paul Jackson
Date: Thu Aug 07 2008 - 01:03:10 EST



Andrew - I reverse my 'NAQ' on this patch.

Acked-by: Paul Jackson <pj@xxxxxxx>


Rakib wrote:
> I think we should concentrate on how it will be executed.

Aha - you're right. Your patch saves 12 bytes of kernel
text space (x86_64 arch). I had assumed that the compiler
would optimize my inessential cpus_nonempty variable out of
existence, but that is not the case.

Thanks for persuing this, Rakib.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.940.382.4214
--
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/