lkml.org 
[lkml]   [2010]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] powerpc: implement arch_scale_smt_power for Power7
From
Date
On Wed, 2010-01-20 at 16:09 -0600, Joel Schopp wrote:
> I can turn that into a conditional branch (case statement) with a shift
> for the common 1,2,4 cases which should cover all procs available today
> falling back to a divide for any theoretical future processors that do
> other numbers of threads.

Look at the cputhreads.h implementation ... Today we only support
power-of-two numbers of threads.

Cheers,
Ben.




\
 
 \ /
  Last update: 2010-01-24 04:05    [W:0.091 / U:30.588 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site