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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nathan Lynch <ntl@...>
Cc: <linux-kernel@...>, <linuxppc-dev@...>, Ingo Molnar <mingo@...>, Paul Mackerras <paulus@...>, Anton Blanchard <anton@...>
Date: Wednesday, June 18, 2008 - 10: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, 8:29 pm)
Re: [RFC/PATCH 3/3] adjust cpu power for secondary threads o..., Olof Johansson, (Wed Jun 18, 10:58 pm)