Re: [RFC/PATCH 3/3] adjust cpu power for secondary threads on POWER6

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Olof Johansson
Date: Wednesday, June 18, 2008 - 7:58 pm

Hi,


Why not just NULL out the cpu_power function pointers on platforms  
that don't have the feature bit instead? (or the other way around:  
NULL by default, and set only on platforms that have imbalanced threads.

It'd be even nicer to do so without using up a cpu feature bit, since  
it'd then only be used in determining whether to set the ppc_md  
function pointer or not, but I don't know if there's a convenient way  
to probe for this at runtime (cpu device tree node properties?).


-Olof

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC/PATCH 0/3] sched: allow arch override of cpu power, Nathan Lynch, (Wed Jun 18, 5:29 pm)
Re: [RFC/PATCH 3/3] adjust cpu power for secondary threads ..., Olof Johansson, (Wed Jun 18, 7:58 pm)