Re: [PATCH 2/2] x86: implement multiple queues for smp function callIPIs

From: Jeremy Fitzhardinge
Date: Tue Jul 29 2008 - 19:44:28 EST


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