From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D371234D937 for ; Fri, 20 Feb 2026 14:30:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.92.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771597805; cv=none; b=CRzhuQk5M8uLQeqaCNvcniVyXcpcuw8BaxM6HY8Yc4bm3+QElIRo+MzfpqHmM/a9jY2s5vMGkHj/OITJmqaqMG5SVLNoi23AvUsiuwKPpgLZ1LHv9adnLwPpUOPMPuZxyuuE+VQbmRzTFMXjsXXcXOTI+IjOOX7XeDUMpUcWXAY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771597805; c=relaxed/simple; bh=wrNMKruNKGO0gTUApA5+vFtzymdVG+o2NgdAy8RVeNQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ipjduS1k4fiYhzhF1ikPIlABHFtAjxsBCOjq97wZZ35d0U9SGT4X8uNlhJbLOVUseyewt1YVw2y0csUKCinle/iaij7JCywnHAMxsJW7mmnq3MtuFAgUKqwDmr+l7yT14GYBJFokKAAyaqMwOl2pZZkd8NsGTJZ1vHtJLY4an3k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=SHmkoI0i; arc=none smtp.client-ip=90.155.92.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="SHmkoI0i" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=3pV4j3ZDXpNzbw6SdNw/8KioWC389+2A8eCfzmeGkBo=; b=SHmkoI0i3dFDpc+YwQGSze+aJ9 7vRamd6n9IKun/G5PBWWtNjkhBu6Uy88kg+AKWnCYEa5qPX2smLlWrXBYJRuV+4WZsZUOgpyD2yfE aN583VNRQH80q1AymZnNC9PQplepK2QCS4sGoDXXCAsOv+0KS4Q2I/hsJGvD3psMNUQAHwH/va5EQ 2oeNPxhuNeCSCqhmyb7TN+ekb6rUyFYWTA3zb1Y6wtTWfQn6sFnUG/r/PLZdmtFFIAXZbUV4da9UW sULTL3fkr5l4is+C7Opan31BDes8UDQFeD5ap09tqO5uZui1WFrCoR5nJ8aXb+PvegcsvbsPvt0IZ bxa9FzoQ==; Received: from 2001-1c00-8d85-5700-266e-96ff-fe07-7dcc.cable.dynamic.v6.ziggo.nl ([2001:1c00:8d85:5700:266e:96ff:fe07:7dcc] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1vtRVZ-00000002gs2-2QpN; Fri, 20 Feb 2026 14:29:29 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 1DA4A301BD5; Fri, 20 Feb 2026 15:29:28 +0100 (CET) Date: Fri, 20 Feb 2026 15:29:28 +0100 From: Peter Zijlstra To: Tim Chen Cc: Ingo Molnar , K Prateek Nayak , "Gautham R . Shenoy" , Vincent Guittot , Chen Yu , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , Madadi Vineeth Reddy , Hillf Danton , Shrikanth Hegde , Jianyong Wu , Yangyu Chen , Tingyin Duan , Vern Hao , Vern Hao , Len Brown , Aubrey Li , Zhao Liu , Chen Yu , Adam Li , Aaron Lu , Tim Chen , Josh Don , Gavin Guo , Qais Yousef , Libo Chen , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 19/21] sched/cache: Add user control to adjust the aggressiveness of cache-aware scheduling Message-ID: <20260220142928.GS1395266@noisy.programming.kicks-ass.net> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Feb 10, 2026 at 02:18:59PM -0800, Tim Chen wrote: > diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c > index bae747eddc59..dc4b7de6569f 100644 > --- a/kernel/sched/debug.c > +++ b/kernel/sched/debug.c > @@ -566,6 +566,16 @@ static __init int sched_init_debug(void) > #ifdef CONFIG_SCHED_CACHE > debugfs_create_file("llc_enabled", 0644, debugfs_sched, NULL, > &sched_cache_enable_fops); > + debugfs_create_u32("llc_aggr_tolerance", 0644, debugfs_sched, > + &llc_aggr_tolerance); > + debugfs_create_u32("llc_epoch_period", 0644, debugfs_sched, > + &llc_epoch_period); > + debugfs_create_u32("llc_epoch_affinity_timeout", 0644, debugfs_sched, > + &llc_epoch_affinity_timeout); > + debugfs_create_u32("llc_overaggr_pct", 0644, debugfs_sched, > + &llc_overaggr_pct); > + debugfs_create_u32("llc_imb_pct", 0644, debugfs_sched, > + &llc_imb_pct); > #endif So we have debug/sched/numa_balancing/, would it make sense to stick all of this into debug/sched/llc_balancing/ or so?