From nobody Tue Apr 7 16:32:13 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 6924E3BD627; Thu, 12 Mar 2026 10:04:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773309854; cv=none; b=BxEo8TZsCd8kHUZGcNL7CGwvUdBM6TDtj77tm1qSkB1C6GeHMxACtgSDbGC+z3J6qmESP0rZazWbBOMGVujQYneNOTSBcuHiF4f/htnwYW+tNadVlyCyCBRoF2q1lJFdnoBDLqnGo094shNILUpgwHeObNI12a0fFBFzM6ZMg1w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773309854; c=relaxed/simple; bh=wXFV8jYlCRHc10CZKkPqBMzFdSi7/19YIW3WSjDMh/c=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=XU1GU6t2RSScgK8peLmMtGdQ8S357b82VCd6+T0MFzWYPRloaOZR+8incpzl+kewMvkoP507rdd4MKw2gPlp/f9kjdNfkF1Dn+/a71JDcFPkyvaR0RtZW9u5x4kHG0fT8RSLakjcyyk2T5Fx3h3BJnwgfR+4w5APhlO35gstfo0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=feco/40k; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=wWBytbrc; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="feco/40k"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="wWBytbrc" Date: Thu, 12 Mar 2026 10:04:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1773309851; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Lb28JIFHJSAdyj2x0Y0oXd3KB2ztBbMNN9SIVzLC4e8=; b=feco/40ke4jYbbJXcFJFBbsaXkpsADMAG0AhMrB/mGk37CJXXkZB9Je+k4Pp73DaDaeOp6 MumHYY7QadtlNCNdHXOGGFxi1+YWa15PIVUMUDmWFxZ1HOShepiKogj0JofrODjkVc+ScN ZcvuYgPyJZOBgy5omaDbcdrG4AERMoWQ1c/9iZKw7Mq6Z/HZj0yMg9kPjlnlNuqSFSJb5e i1op/TsaNCqtNX60P8i1mzuXiIgY887ccCw1o7jXTT91HL5nfjTxT8UZ9u4YHjRYuOVkxe 47QwuYnA1VTkQlUhVGvsxuo4JzwZ3nNGLqPTOcyXOoE+4Rbo+klANxhJCI3o4A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1773309851; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Lb28JIFHJSAdyj2x0Y0oXd3KB2ztBbMNN9SIVzLC4e8=; b=wWBytbrcbImBj2HjM2vrGMeDL49p0qBLnbnYJXfzH3+IB6nP/qmJngK16AtvI1wLruJgH4 mOX2G6Odz3MoM4DA== From: "tip-bot2 for Zhan Xusheng" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/fair: Fix comma operator misuse in NUMA fault accounting Cc: Zhan Xusheng , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260309024247.10908-1-zhanxusheng@xiaomi.com> References: <20260309024247.10908-1-zhanxusheng@xiaomi.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177330984979.1647592.8544594408715300629.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the sched/core branch of tip: Commit-ID: 8d16e3c6f844823812f872df5ef1d3d2ed11b956 Gitweb: https://git.kernel.org/tip/8d16e3c6f844823812f872df5ef1d3d2e= d11b956 Author: Zhan Xusheng AuthorDate: Mon, 09 Mar 2026 10:42:47 +08:00 Committer: Peter Zijlstra CommitterDate: Thu, 12 Mar 2026 07:47:37 +01:00 sched/fair: Fix comma operator misuse in NUMA fault accounting Replace the comma operator with separate statements when assigning NUMA fault statistics. This improves readability and follows kernel coding style. Signed-off-by: Zhan Xusheng Signed-off-by: Peter Zijlstra (Intel) Link: https://patch.msgid.link/20260309024247.10908-1-zhanxusheng@xiaomi.com --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index d57c02e..c1e5c82 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -14226,7 +14226,7 @@ void show_numa_stats(struct task_struct *p, struct = seq_file *m) tpf =3D p->numa_faults[task_faults_idx(NUMA_MEM, node, 1)]; } if (ng) { - gsf =3D ng->faults[task_faults_idx(NUMA_MEM, node, 0)], + gsf =3D ng->faults[task_faults_idx(NUMA_MEM, node, 0)]; gpf =3D ng->faults[task_faults_idx(NUMA_MEM, node, 1)]; } print_numa_stats(m, node, tsf, tpf, gsf, gpf);