Re: [PATCH] Remove preempt_disable from powernow-k8

From: Pavel Machek
Date: Mon Jul 11 2005 - 12:14:22 EST


Hi!

> >From reading the code, my understanding is that powernow-k8 uses
> preempt_disable to ensure that driver->target doesn't migrate across cpus
> whilst it's accessing per processor registers, however set_cpus_allowed
> will provide this for us. Additionally, remove schedule() calls from
> set_cpus_allowed as set_cpus_allowed ensures that you're executing on the
> target processor on return.

Please Cc: amd people; there should be pointer at begining of
p*n*-k8.c.

Pavel
--
teflon -- maybe it is a trademark, but it should not be.
-
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/