Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp511854ybt; Mon, 6 Jul 2020 15:12:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsJtbx003GTLTFL4sf5k2/CV/Lr+qcJukjNT0LAsVvtuEwHl+G5oROI0lcx2zcMTy8Ccaq X-Received: by 2002:a17:906:f20d:: with SMTP id gt13mr20398777ejb.117.1594073564905; Mon, 06 Jul 2020 15:12:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594073564; cv=none; d=google.com; s=arc-20160816; b=ImiiaSWr+GKQOSk7YkuS1nCFRu14XE5SeiSDuGHmRi9hYJrLusV2B9c7aSqPwolZTN 5UaLjSbNwGVagsCv/bxPNhWyO53rhJjQ5rj+QzFk9IXheh46RrZg/o7V6LoekiQ5+ZKz TmReM4aeJNgUDo9MZdi8Dn/ajki97CttWXDSK5t5fB06C3v7a41gxtCNKX+qarjwT/rc /Q3JkdwrKb7OR1dQq9TCCgc2Jz9KeNDFi62yTrg6cgxuRyaNpevbHP/NmIzL7pfwq5Cy wsKljSTS2eq4n9VN2T5A1ZFzDPtfmbfNz+WavMc5jTSc26vcw4o3FOi1rdQpuXM1yIWr haXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references; bh=0JTWtR6mML2Oqj8Jvd4wOJ5bW9LzbcnekJPNDTlemzw=; b=HhJAen5RP8udKfXGV9Hlj3wFfphc70EbmTo6I0ysDujsaYSfjxjck4FP/zSZGzxqcb 9bGVQ7nTRqLtQaVmV+w/xiGiQ7smwLrNGvRQLob50HJ8MauDkr9Q+2eqq3SoL69Nb1N3 bB1Yf7c1YbH7Djq5ZvA0DDJHewAjC2PMNHdZabFqStlf/L8lNP1iQocL/L4wrE+b5Zb+ ir/vLqLtRomSuRYNoEUoMN2a4Jlj8VT5aGlJgkpcgqP3EV9ck9KwThi20nHi8Vvl5iTt JItDJYq2xlz4ZZXUCljhVJD6MuQ2f89oRL/XsdVm5u0HhfQz8d7hQlGRlhXQVf6YMy7l v+hQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a24si12907715ejk.208.2020.07.06.15.12.21; Mon, 06 Jul 2020 15:12:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726857AbgGFWLm (ORCPT + 99 others); Mon, 6 Jul 2020 18:11:42 -0400 Received: from foss.arm.com ([217.140.110.172]:50892 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726329AbgGFWLl (ORCPT ); Mon, 6 Jul 2020 18:11:41 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4E901C0A; Mon, 6 Jul 2020 15:11:41 -0700 (PDT) Received: from e113632-lin (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F0E873F718; Mon, 6 Jul 2020 15:11:39 -0700 (PDT) References: <20200706200049.GB5523@worktop.programming.kicks-ass.net> User-agent: mu4e 0.9.17; emacs 26.3 From: Valentin Schneider To: Peter Zijlstra Cc: Chen Yu , Vincent Guittot , Ingo Molnar , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2][RFC] Makes sd->flags sysctl writable In-reply-to: <20200706200049.GB5523@worktop.programming.kicks-ass.net> Date: Mon, 06 Jul 2020 23:11:32 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/07/20 21:00, Peter Zijlstra wrote: > On Tue, Jul 07, 2020 at 03:36:13AM +0800, Chen Yu wrote: >> It was found that recently the flags of sched domain could >> not be customized via sysctl, which might make it a little >> inconenient for performance tuning/debugging. > > What specific goals do you have? This is a debug interface. Also, while the update_top_cache_domain() call on sysctl write may work, you're back to square one as soon as you go through a hotplug cycle, which is icky. That said, I second Peter in that I'm curious as to what you're really using this interface for. Manually hacking the default / arch topology flags is a bit tedious, but it's doable.