[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1b6b08ca-7a13-5cf8-06c7-421258f79655@redhat.com>
Date: Wed, 26 Apr 2017 14:59:09 -0300
From: Lauro Venancio <lvenanci@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: lwang@...hat.com, riel@...hat.com, Mike Galbraith <efault@....de>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...nel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/4] sched/topology: fix overlap group capacity and
balance cpu
On 04/26/2017 01:31 PM, Peter Zijlstra wrote:
>
> Please have a look here:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/wip
>
> I think that has them all.
Yes. I agree.
>
> I'm still thinking on how to best create a test to assert on the SGC
> condition, but I don't seem to get much further than brute-force
> matching all group masks. At least we now display (albeit I don't like
> the format, suggestions?) the stuff.
I cannot think in anything other than brute-force, too.
Maybe, to make the debug messages clear, you could print "balance_cpu:
%d" instead of "capacity(%d): " and assert (sgc id == balance cpu). You
would need to restart the sgc id count on every topology level.
Powered by blists - more mailing lists