From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (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 8A9111547C0 for ; Thu, 9 Apr 2026 20:02:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775764939; cv=none; b=Lt7myqYvVmCtt8wZ5Pnx7i7dP5eCyZ9tFeIv9Ko7iwr/KGekAmP8OXdtMXZ1DdaCr3IwfXLNe8gjgvwlfvZILKVEPGXQgg7FrjB9JLvC65eJyoukjjja5q+sJK6snq0Kh7hn5Ztvfbp2CpNHP96fO2tVn91eBjI3U5FgEHuMPfQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775764939; c=relaxed/simple; bh=m58DQALlpY+x1eQFpLkS2bNV1RSs3EggalJeKqHbD1A=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=Ke/YWS4M3W2Tu2vpwpb694Je/uJJ8Azx+dD8Ea0RXPC8lXZsD/kBs7TFIoAje+klKY0P9UPTsRxokIZurM2HKttCDxxUdckSSBWRS6cNWu2uY9nmvxrJm/WtecWSA20ag2jDP7JyXLQwpcyV/jXcWNCr3/tuF+4INcW4Nf84GHs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=GNOmnZeI; arc=none smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="GNOmnZeI" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1775764938; x=1807300938; h=message-id:subject:from:to:cc:date:in-reply-to: references:content-transfer-encoding:mime-version; bh=m58DQALlpY+x1eQFpLkS2bNV1RSs3EggalJeKqHbD1A=; b=GNOmnZeIvmvUNMm/Orgt3pN7KH6v786DVdycXz6k550c2ooYOlJooMj3 SejH+mUZrbhTHzT7hmqNIr9exQKgCwGfAd1VSnbuHYCJsInhnVfhUa2/a tKVF1OCV+i10SMdRCjr/Ip9WlJgZpzS+RP+buRNNRhv3ROW32J1NO7V6J fxsUNfLPTk+K+uru07Z/3bHurzSghnJZ0+5VEQNxHXT8yHBHNwsNwV+67 GRCoArESQu07mcUY1aicbtdk6Kp7M8D/9qqRhjTDBAA/vo+3JCGOa4yq3 MzPS7bRYY7eG0J61LKYFfapo8Ss8YU5zi/MDsv4R3UmQQ3xadi4mMdt5t Q==; X-CSE-ConnectionGUID: lnkttiHdS66Zd/c0TP41KA== X-CSE-MsgGUID: JORrab9qRxKRB3U8JbgUMA== X-IronPort-AV: E=McAfee;i="6800,10657,11754"; a="76656709" X-IronPort-AV: E=Sophos;i="6.23,170,1770624000"; d="scan'208";a="76656709" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2026 13:02:17 -0700 X-CSE-ConnectionGUID: BQZ5oPNuSLajWZBEWu5KSA== X-CSE-MsgGUID: 5SSAajWnRYmmXHNW+EFSrA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,170,1770624000"; d="scan'208";a="225725977" Received: from unknown (HELO [10.241.243.39]) ([10.241.243.39]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2026 13:02:16 -0700 Message-ID: Subject: Re: [Patch v4 00/22] Cache aware scheduling From: Tim Chen To: Peter Zijlstra Cc: Ingo Molnar , K Prateek Nayak , "Gautham R . Shenoy" , Vincent Guittot , 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 , Chen Yu , Adam Li , Aaron Lu , Tim Chen , Josh Don , Gavin Guo , Qais Yousef , Libo Chen , linux-kernel@vger.kernel.org Date: Thu, 09 Apr 2026 13:02:15 -0700 In-Reply-To: <20260409135415.GE3126523@noisy.programming.kicks-ass.net> References: <20260409135415.GE3126523@noisy.programming.kicks-ass.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.1 (3.58.1-1.fc43) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Thu, 2026-04-09 at 15:54 +0200, Peter Zijlstra wrote: > On Wed, Apr 01, 2026 at 02:52:12PM -0700, Tim Chen wrote: > > Chen Yu (10): > > sched/cache: Limit the scan number of CPUs when calculating task > > occupancy > > sched/cache: Record per LLC utilization to guide cache aware > > scheduling decisions > > sched/cache: Introduce helper functions to enforce LLC migration > > policy > > sched/cache: Disable cache aware scheduling for processes with high > > thread counts > > sched/cache: Avoid cache-aware scheduling for memory-heavy processes > > sched/cache: Enable cache aware scheduling for multi LLCs NUMA node > > sched/cache: Allow the user space to turn on and off cache aware > > scheduling > > sched/cache: Add user control to adjust the aggressiveness of > > cache-aware scheduling > >=20 > > Peter Zijlstra (Intel) (1): > > sched/cache: Introduce infrastructure for cache-aware load balancing > >=20 > > Tim Chen (11): > > sched/cache: Make LLC id continuous > > sched/cache: Assign preferred LLC ID to processes > > sched/cache: Track LLC-preferred tasks per runqueue > > sched/cache: Introduce per CPU's tasks LLC preference counter > > sched/cache: Calculate the percpu sd task LLC preference > > sched/cache: Count tasks prefering destination LLC in a sched group > > sched/cache: Check local_group only once in update_sg_lb_stats() > > sched/cache: Prioritize tasks preferring destination LLC during > > balancing > > sched/cache: Add migrate_llc_task migration type for cache-aware > > balancing > > sched/cache: Handle moving single tasks to/from their preferred LLC > > sched/cache: Respect LLC preference in task migration and detach >=20 > I've applied a random subset of patches with random edits into queue.git > sched/cache (based on tip/sched/core). >=20 > It builds, but is otherwise untested. Thanks Peter. We'll start testing your tree. Tim >=20 > Please send patches against this tree; I'm hoping to stick this into > sched/core after the next merge window. >=20 > If any one commit really needs amending, just send a replacement patch > and I'll rebase. Just make sure to not loose the edits I made.