From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752626AbdF0QcU (ORCPT ); Tue, 27 Jun 2017 12:32:20 -0400 Received: from mail.skyhub.de ([5.9.137.197]:49148 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751492AbdF0QcO (ORCPT ); Tue, 27 Jun 2017 12:32:14 -0400 Date: Tue, 27 Jun 2017 18:31:52 +0200 From: Borislav Petkov To: "Duran, Leo" Cc: "'Thomas Gleixner'" , "Suthikulpanit, Suravee" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "Ghannam, Yazen" , Peter Zijlstra Subject: Re: [PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket Message-ID: <20170627163152.xcefylri56etqpbn@pd.tnic> References: <1498545653-6755-1-git-send-email-suravee.suthikulpanit@amd.com> <1498545653-6755-2-git-send-email-suravee.suthikulpanit@amd.com> <20170627104803.wlhsqhaylbeqod37@pd.tnic> <20170627161156.yim2pxtyg7efrbef@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.