Re: [PATCH] Remove preempt_disable from powernow-k8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux