Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp222706lqr; Wed, 5 Jun 2024 04:20:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVYOoAnu7O0Txp4Tge2nokNAkH0Y3nKSCKPGEXJAFpVo6WRMJVvW+MZaFnBefWHkbWkbt7NghZkojF/k+3ULHGfaQw57qlbcUre5xOjDQ== X-Google-Smtp-Source: AGHT+IEfmUnCcYQjn8q0NSWIpwNKH4oT9++2XgQquX9uxY4DARHOdGtN4wuMH5bUboyd8+FNejUw X-Received: by 2002:a17:903:120d:b0:1f5:e635:21e8 with SMTP id d9443c01a7336-1f6a5901d28mr26649655ad.2.1717586432239; Wed, 05 Jun 2024 04:20:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717586432; cv=pass; d=google.com; s=arc-20160816; b=B8mqkzCe+zTekm0UR9gjEvyjvdx6GWhFlvtjRJEbI5MQ9QHtqwSgl6smH3KSMOhq0d FKYbl5bQvyyvfKSFp3w+M+aWyXSsvhP8HzuiVkvpbl/kYGUlUugSdets95kfL+Gfw8UD h5cskMQ+6QgsGETNXRs4l2zGiJo7r+qhiAtImYT1aJersoqVHHDsdl8r5X9DF03Xq/ml j+7GNezFHZ9zEuzfAASZr6vxQFd3D0nxA1Z7ssBH3cAjMl8AK/L1VWj2XgNDY+6M65wS DIcqywyZWQXbYHYZ/b2MFnlRsuajDO4UWqErY8urOg/PQwWrz14ZFRcYY+EpG2qxnZhf j86g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:cc:subject:to:reply-to:sender:from:dkim-signature :dkim-signature:date; bh=XWQTvEYhGK0QV04a9jOnt8+f38VQ0r81EfON1LHHCPo=; fh=NXmamW6V2ZnP0JjBlFrKVbMKv3NZ9D/kM7aJFQd+Exg=; b=ajtmZaw7b6o064TIpQ5yPhd1u1YPSwcTDdL8/hEJY6ciGfZgqCGbcfEt8hJZjkban6 lvXPKSKsIgaGmeZ8gaGfAsPwEaB9TT04H3DmlHPjRMrgglyDW97X4fLA3fu0xiATOu4I wJPzLZOWQYHYzVpu8KuB5SjH5UznaeOK+YrFFbyHb78ul15EaRtXuJEsQ2Psc/u2SNRk ZkUsv4vj1ohksbIaBAJqMFWe0O50oSvlk2My7xPW2HQk6UnLZwEHye2fX4ZZg+7XTpBa NwwYzXLiN5IDDvhHrS/nWtvc1QqD6bGcrqByTtRM8hsmCbibegDLnMQ36T7QM5xpDS8i sN9w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=KNZFXUKg; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-202249-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202249-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f6323618b8si24650865ad.150.2024.06.05.04.20.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 04:20:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202249-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=KNZFXUKg; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-202249-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202249-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id CD4BCB23320 for ; Wed, 5 Jun 2024 11:16:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3AEF7192B65; Wed, 5 Jun 2024 11:16:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="KNZFXUKg"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="rz3cGb4Z" 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 2336A149C77; Wed, 5 Jun 2024 11:16:34 +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=1717586196; cv=none; b=SDFUMgOE5ItkFNaa87Tj8NlsEyzIWP1cY59eKsWPmTNSYWmHjYVRjwn2Hy0OlHM+UksdRySkQY+jgzaEQ8Hp9IT+ksCteAHYtD2qkLtZwwiixebclVDWxMsZbMP8+rNyrKu0rmsNMHskZHhGrA8ZbIcZo4RIxqtpAlfGsilWJjs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717586196; c=relaxed/simple; bh=i5qDHUlWKpQ7V2KQc/nRIfd7ci0vEVnDOh7Bt8/XeBo=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=Gbb9FA/+/E4x4oFLJZSCLvoECcjrrYYooUNw4/x52IJMdVSUESmOSbeWak81fwia6DjZKzavK4YeR/AcBrx2txgoA9wCUJzycNlWQuGhTazQHgAzhZa+Ehe2grWxo9y+P+flw0qSJL/wusG3JIYti3S0u0Sg9duMzqTqrpmbJQg= 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=KNZFXUKg; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=rz3cGb4Z; 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 Date: Wed, 05 Jun 2024 11:16:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1717586193; 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; bh=XWQTvEYhGK0QV04a9jOnt8+f38VQ0r81EfON1LHHCPo=; b=KNZFXUKgAfLC6go0IbsRUUFSaKCpRcTShPH59LI/sncWD3SPjfWIj7jd8La01dOB2UdQ18 TxJcMlI73g4lXdJbVXpLtO2DQ1+Kvv05Aq7TjsV5DP1Bnof5VIDCW3PWJTK/klrr9CtX9+ QqVu/C6BNy80BZfrjKp3DXpKcWyQzGo1dNlGHSs7pnZsnhdtfHeo6ks7a6GMxEBLGw5QM7 otPhWnl6m/STkh+SstrsI6GUSY9dpb/fyj822TzGOdQGaar/ZqFpVDmuGWjFRFjt45+L29 An6+AZi/+B7IcYRZMvzFTh8wIAVsGr/RxGmkCURKLoW5QE9G97T+MQfMfwgZnw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1717586193; 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; bh=XWQTvEYhGK0QV04a9jOnt8+f38VQ0r81EfON1LHHCPo=; b=rz3cGb4ZE4tuXJS+sXWCzrfEZpmHE86mr0G/92SWIyw+oRmQsFb3bHN2cDjpivwOs446cy DrZ93h2RhTwCEBDQ== From: "tip-bot2 for Ingo Molnar" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/core: Simplify prefetch_curr_exec_start() Cc: Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, x86@kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171758619265.10875.8871135454479339495.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: 7bit The following commit has been merged into the sched/core branch of tip: Commit-ID: 85c9a8f4531c6c0862ecda50cac662b0b78d1974 Gitweb: https://git.kernel.org/tip/85c9a8f4531c6c0862ecda50cac662b0b78d1974 Author: Ingo Molnar AuthorDate: Wed, 05 Jun 2024 13:01:44 +02:00 Committer: Ingo Molnar CommitterDate: Wed, 05 Jun 2024 13:03:20 +02:00 sched/core: Simplify prefetch_curr_exec_start() Remove unnecessary use of the address operator. Signed-off-by: Ingo Molnar Cc: Peter Zijlstra Cc: linux-kernel@vger.kernel.org --- kernel/sched/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 5d861b5..0935f9d 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -5340,9 +5340,9 @@ EXPORT_PER_CPU_SYMBOL(kernel_cpustat); static inline void prefetch_curr_exec_start(struct task_struct *p) { #ifdef CONFIG_FAIR_GROUP_SCHED - struct sched_entity *curr = (&p->se)->cfs_rq->curr; + struct sched_entity *curr = p->se.cfs_rq->curr; #else - struct sched_entity *curr = (&task_rq(p)->cfs)->curr; + struct sched_entity *curr = task_rq(p)->cfs.curr; #endif prefetch(curr); prefetch(&curr->exec_start);