Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket

From: Borislav Petkov
Date: Tue Jun 27 2017 - 12:32:22 EST


On Tue, Jun 27, 2017 at 04:23:16PM +0000, Duran, Leo wrote:
> My understating is that it is *not* our job at the "amd.c" level to
> return information that influences the scheduler in any prescribed
> way.

Your understanding is wrong.

The abstractions we present to the rest of the kernel is so that other
facilities can operate in generic way without having to know the
processor they're running on.

In your particular case you're trying to address two, AFAIU, scheduling
problems.

So no, we want to tell the scheduler *exactly* what it needs to know.

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.