Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp568090rdb; Mon, 15 Jan 2024 06:34:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOoTkZlWdrSCWYaZqua51teIA2D/yeQMdqEBHaj/j8CI++efG0oMeIOgiUbiNkABTNwSpI X-Received: by 2002:a17:90a:e616:b0:28d:bd27:f81 with SMTP id j22-20020a17090ae61600b0028dbd270f81mr3209085pjy.15.1705329287173; Mon, 15 Jan 2024 06:34:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705329287; cv=none; d=google.com; s=arc-20160816; b=cX1nhB3y4xRLT7Uo6VDKsY4aioLTZuPtBmN4vtaBHzr1Od9o40OzNY7u607E1PGVqw ErEte68N3ZbN5UsShKlkzALLDFzEEC3hSFpNjGOz2koxeXUqSlvLHLItH4WHtgFlX6AU Fi8R7lNroM/eNYZD6i3hRj/A2SCVMZbf0gYXDoZp5tCU/mxX/bUw5JsTedgtdfqGwgrd YQeVjHwyBBOZZ3Ibl+RUIoH1NQ0hWerGwYLLvk0gXoj3GZ7w0IukmI/H5MykSyjNIQYW RnOBx1S3NHQVWD6JKnHsXXymQq1keLkeDnOB5l0tkZ/m4mqSdXzLkaFFzcDCVj6JAKtt yRfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=TUjvJuMLuCjbHU9BZh1lVGntrFPcI1ovGUiH/WbGO50=; fh=ceGY8gx3ag7g2dEDXECiNTMxyZp1SjBjuBUw72Wx2IM=; b=BjUAiM7l5EmbcPS2q7llCNCu/nQXWJuonxg8AwEQc60EcMbzLQb00aohtk7rW9DKsC FrpoXqYOyv9jjq//M9+Hdbw/5rLtOrBiy7fGtdLSnhTHloxXaNpS4mkSSNzNuFlk3ar2 i/0ypXHPPLAgCCdg7JmFfgS9XQpvIVudROmE4FBFGWzS/fLAyW18bmFO/abWiSwcTIXD FQ/oPIrBMbmb50EZHK4g28xgmI6HUjLy1rd51dWlTDrZIPWJVfcpLTNBQph9vrcRJRhV 1EZQZr09MOuGrR/6wPTcZLwgaBuzAlxm4RejJiy1vbdfSkmrSJ9m+T2xFMAghM9de0P1 KW3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-26090-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26090-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c30-20020a17090a492100b0028cb1d1ce00si11456885pjh.39.2024.01.15.06.34.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 06:34:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-26090-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-26090-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26090-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A2B8F282780 for ; Mon, 15 Jan 2024 14:34:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D99A17597; Mon, 15 Jan 2024 14:34:41 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6760F1106 for ; Mon, 15 Jan 2024 14:34:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 DCC772F4; Mon, 15 Jan 2024 06:35:23 -0800 (PST) Received: from e126645.arm.com (e126645.nice.arm.com [10.34.100.129]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 594153F6C4; Mon, 15 Jan 2024 06:34:35 -0800 (PST) From: Pierre Gondois To: linux-kernel@vger.kernel.org Cc: Shrikanth Hegde , Pierre Gondois , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , Huang Ying Subject: [PATCH v2 0/3] Small cleanup around sparse report Date: Mon, 15 Jan 2024 15:34:23 +0100 Message-Id: <20240115143427.1820628-1-pierre.gondois@arm.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit v2: - Added __rcu annotations to variabbles in sched_reset_numa(), and casts for calls to kfree(). - Renamed idle_cpu_without() to idle_rq_without() - Added sched/fair: Use rq in update_blocked_averages() While checking spare's tool report, some RCU pointers appeared to be not annotated. In the same effort, idle_cpu_without() and update_blocked_averages() seemed to be subject to a small optimizations. Pierre Gondois (3): sched/topology: Annotate RCU pointers properly sched/fair: Use rq in idle_cpu_without() sched/fair: Use rq in update_blocked_averages() kernel/sched/fair.c | 25 +++++++++++-------------- kernel/sched/topology.c | 12 ++++++------ 2 files changed, 17 insertions(+), 20 deletions(-) -- 2.25.1