Re: [PATCH 4/6] x86/cpufreq: use cpumask_copy instead of =

From: Linus Torvalds
Date: Tue Jun 09 2009 - 12:42:34 EST




On Tue, 9 Jun 2009, Dave Jones wrote:
>
> work_on_cpu()'s definition could probably use a fat comment describing
> why it sucks.

No, it should be renamed.

The problem is that it _sounds_ like a nice thing to do.

If it was called "slow_other_cpu_thread_switch_with_a_donkey_on_top()", I
bet people wouldn't be so damn eager to use it.

Linus
--
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/