Messages in this thread | | | Date | Tue, 22 May 2012 12:12:09 +0200 | From | Alexander Gordeev <> | Subject | Re: [PATCH 2/3] x86: x2apic/cluster: Make use of lowest priority delivery mode |
| |
On Mon, May 21, 2012 at 04:44:39PM -0700, Suresh Siddha wrote: > On Mon, 2012-05-21 at 10:13 +0200, Alexander Gordeev wrote: > > So we really need to submit all possible CPUs here ^^^ to be able finding the > > best/heaviest cluster out of the 'mask'. > > > > I don't think we need to do anything fancy, like selecting the heaviest > cluster out of the mask. Something like (cluster membership of first cpu > in the mask) AND (mask) should be enough.
Hmm... the cost of selecting a cluster is cheap. It is called from a setup code that should not be fast. Why not keep it?.. Well in case the data would show it worth it.
What seems worthy though is sticking to the cluster which is currently in use and at least one of its CPUs is still in the mask.
> thanks, > suresh
-- Regards, Alexander Gordeev agordeev@redhat.com
| |