Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752758AbbDFCLr (ORCPT ); Sun, 5 Apr 2015 22:11:47 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:28970 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752626AbbDFCLp (ORCPT ); Sun, 5 Apr 2015 22:11:45 -0400 Message-ID: <5521EB33.7050405@oracle.com> Date: Sun, 05 Apr 2015 20:10:59 -0600 From: David Ahern User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Ingo Molnar , Peter Zijlstra CC: Mike Galbraith , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] sched: Add cpu based entries to debugfs References: <1427681613-98163-1-git-send-email-david.ahern@oracle.com> <20150330074452.GM23123@twins.programming.kicks-ass.net> <1427703963.7560.3.camel@gmx.de> <20150330082812.GP23123@twins.programming.kicks-ass.net> <1427704994.7560.14.camel@gmx.de> <20150330091841.GR23123@twins.programming.kicks-ass.net> <20150331091324.GA16810@gmail.com> In-Reply-To: <20150331091324.GA16810@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: aserv0021.oracle.com [141.146.126.233] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1774 Lines: 48 On 3/31/15 3:13 AM, Ingo Molnar wrote: > > * Peter Zijlstra wrote: > >> On Mon, Mar 30, 2015 at 10:43:14AM +0200, Mike Galbraith wrote: >> >>> I think it would be a good thing if we can get away with it, but I >>> also think you could safely bet your life that somebody will >>> squeak. >> >> The thing I worry most about is that squeaking only happening 5 >> years later :/ > > So lets start by keeping the sysctl thing with the very > scheduler-internal names, but all zeroes and no effect of any change - > i.e. a dead API in all but appearance. I don't think there's any > legitimate use of those, beyond debugging, as we could change the > internal implementation anymore and moot many of those flags. > > So lets trigger the squeaking that way. If any complaint comes in > beyond 1-2 kernel releases then I don't think it's a regression, it > turns into a feature request ... Sorry to be so dense but I am not clear on what is acceptable and not. As mentioned in a previous response, these are the scheduler related files I am aware of: - debufs file for sched_features (/sys/kernel/debug/sched_features) - /proc/sys/kernel/sched_domain for tweaking scheduling parameters - /proc/sched_debug - various internal stats - /sys/devices/system/cpu entries. e.g., for cpu topology (physical package id, core id, sibling cores and threads) None of them show the sched_domain information which is the subject of this patch. Can someone clarify on the duplication concerns and such? Thanks, David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/