Re: [PATCH][RFC] oprofile for 2.5.39

John Levon (levon@movementarian.org)
Sun, 29 Sep 2002 04:53:23 +0100


On Sat, Sep 28, 2002 at 08:47:06PM -0700, Andrew Morton wrote:

> Using smp_processor_id() is usually a bug.

Well, this is in-interrupt code.

> - If you do something which might sleep inside get_cpu/put_cpu,
> you get might_sleep() warnings.

Certainly handy (but I don't see it's useful in this particular code,
really)

regards
john

-- 
"When your name is Winner, that's it. You don't need a nickname."
	- Loser Lane
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/