lkml.org 
[lkml]   [2003]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][2.5] Don't wake up tasks on offline processors

On Mon, 17 Feb 2003, Zwane Mwaikambo wrote:

> Ok i'll have a go at that instead, however how hard would it be to do a
> multiple lock acquisition of that magnitude on 16+ cpus?

just do a simple loop of spin_lock()'s over all online CPUs, in forward
order, ordering between runqueue locks is ordered by CPU number.

Ingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.029 / U:2.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site