[PATCH] ppc64: per cpu data optimisations

Nathan Lynch ntl at pobox.com
Wed Jan 11 13:36:55 EST 2006


Anton Blanchard wrote:
> +#define percpu_modcopy(pcpudst, src, size)			\
> +do {								\
> +	unsigned int __i;					\
> +	for (__i = 0; __i < NR_CPUS; __i++)			\
> +		if (cpu_possible(__i))				\

Nitpick - could be for_each_cpu(__i)?  Or am I missing something
subtle?




More information about the Linuxppc64-dev mailing list