lkml.org 
[lkml]   [2008]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] x86: implement multiple queues for smp function call IPIs
Jeremy Fitzhardinge wrote:
> This adds 8 queues for smp_call_function(), in order to avoid a
> bottleneck on a single global lock and list for function calls. When
> initiating a function call, the sender chooses a queue based on its
> own processor id (if there are more than 8 processors, they hash down
> to 8 queues). It then sends an IPI to the corresponding vector for
> that queue to each target CPU. The target CPUs use the vector number
> to determine which queue they should scan for work.

I should point out that this patch depends on the earlier tlb.c
unification patch, since it recycles the IPI vectors that series freed up.

J


\
 
 \ /
  Last update: 2008-07-30 01:47    [W:0.226 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site