[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120522101208.GB8382@dhcp-26-207.brq.redhat.com>
Date: Tue, 22 May 2012 12:12:09 +0200
From: Alexander Gordeev <agordeev@...hat.com>
To: Suresh Siddha <suresh.b.siddha@...el.com>
Cc: Yinghai Lu <yinghai@...nel.org>, linux-kernel@...r.kernel.org,
x86@...nel.org, Cyrill Gorcunov <gorcunov@...nvz.org>
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@...hat.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists