Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp887565img; Thu, 21 Mar 2019 11:02:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhBoL3DfzFbs9vjcYMKf1FUTWPhMi3SY/IYTNSnXeudBhGNCSjuzDgXV/Cuc5gq4uQTPSA X-Received: by 2002:aa7:8b0c:: with SMTP id f12mr4584620pfd.154.1553191345685; Thu, 21 Mar 2019 11:02:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553191345; cv=none; d=google.com; s=arc-20160816; b=gP6Mge8yzKU6Oxk/3U7RLJ1gXtbN2k8HN1MM4pOrWbOTZ+ESTC6Ob2dxQ6QK0Ul0/s q3aHZYjZcOjxNCq8ASiFHF0T4GTbkydbrKsrl05D96LeXUZc/AG6tY8Ja2R3soE4zUd2 guIuM5NtTPU6XSvSpUX8+uztSdJiZRBmCG5an5su2gDV/SM/ZA1pH5i7Dh5MQxChaUtw wcPpRvFKqFTG8Vizl0EUoFRjuAgj84GTEDsu87L0cO4d4ohJTXY0YwwhdlW8/6EXPpDA 6/CMnyeaH/77ygFGnih2DJTxBv4HY6ZB/ZUId6pixCMj36v0e4CZdHYNnbqSA+XhxMFi EO0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rjIIWiz5Bo0fTLzrBx6G7rvlX1W0eGKhdzQc9t/F+ig=; b=k4rZL0CpNXb9kEIpOeoxddyJdjGVG3+0t/eKxvMnsQJvlOh+1uHAg20XpIJ1YsG6lE t3O4dyi+YlkBcqeA1NGi0/d9SXzodKiv7u7XP3mTl7MEwxuOZQ5OJTTmjvuM65F1H6Lh CqIBbRPEixLk+Xo3HZxqoZHgvgD8X5VjNwQqveuI7dxR5TS/O7crFBAKt2RHSyI5+mFd 22eeqIhRtWdOm0XZfAGMon3iedBSHNIqI1pldJhsCdyLyL3EEMccsKytZXZWYr6ToZOa RNr1X+lX6amdAZ2Map8zB6MPQILTws6l8BSt324Go8FFsucVOq+kbN6vtRszO4FmLSc1 r1qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=sh7bfqSH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m184si4631045pfb.73.2019.03.21.11.02.07; Thu, 21 Mar 2019 11:02:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=sh7bfqSH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728592AbfCUR7j (ORCPT + 99 others); Thu, 21 Mar 2019 13:59:39 -0400 Received: from merlin.infradead.org ([205.233.59.134]:37822 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725985AbfCUR7j (ORCPT ); Thu, 21 Mar 2019 13:59:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; 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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=rjIIWiz5Bo0fTLzrBx6G7rvlX1W0eGKhdzQc9t/F+ig=; b=sh7bfqSHO9C4sGVQwjURM3Dui gv/MpejRbMNM9QQ7vXi/nVmazvsmQ6IfT2CK8t3WQW1LJjdrBVpbVybw1lZadQ6tCZCRtztTBwFA5 WDuLHn0n9d0FBcv5jC09XrserOQ9PO8LWlyjdZXIScoiAGhfwmmZzS2+/Qr89FiT61k72vpn4n1zh QNQp5wMGGajVGriTur6XEpT4PBGKgNjBGnkK/pnJbElg+FacMUOQT/fXnpdRemBMieKcL9r9L1GR3 BYnPfU4uJyasDehFEv5gY2iRYgftFq9q7n52H0AAFG897+X24sxSl8j/dpBquywoaI61bSfG5yWgr tULCb9pxw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1h71xq-0001Rk-Gf; Thu, 21 Mar 2019 17:58:50 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id F1DF2203CBE1E; Thu, 21 Mar 2019 18:58:47 +0100 (CET) Date: Thu, 21 Mar 2019 18:58:47 +0100 From: Peter Zijlstra To: "Joel Fernandes (Google)" Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Josh Triplett , keescook@chromium.org, kernel-hardening@lists.openwall.com, kernel-team@android.com, Lai Jiangshan , Luc Van Oostenryck , Mathieu Desnoyers , Morten Rasmussen , "Paul E. McKenney" , rcu@vger.kernel.org, Steven Rostedt Subject: Re: [PATCH v2 0/4] RCU fixes for rcu_assign_pointer() usage Message-ID: <20190321175847.GP6058@hirez.programming.kicks-ass.net> References: <20190321003426.160260-1-joel@joelfernandes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190321003426.160260-1-joel@joelfernandes.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 20, 2019 at 08:34:22PM -0400, Joel Fernandes (Google) wrote: > This is just a resend with scheduler patches split from the driver fixes and > Paul's Reviewed-by(s) added. > > These patches fix various sparse errors ccaused as a result of the recent check > to add rcu_check_sparse() to rcu_assign_pointer(). The errors are due to > missing annotations. The annotations added in the series can also help avoid > future incorrect usages and bugs so it is a good idea to do in any case. > > RFC v1 -> Patch v2: > Made changes based on Peter Zijlstra review. > > Joel Fernandes (Google) (4): > sched/cpufreq: Annotate cpufreq_update_util_data pointer with __rcu > sched_domain: Annotate RCU pointers properly > rcuwait: Annotate task_struct with __rcu > sched: Annotate perf_domain pointer with __rcu > > include/linux/rcuwait.h | 2 +- > include/linux/sched/topology.h | 4 ++-- > kernel/sched/cpufreq.c | 2 +- > kernel/sched/sched.h | 18 +++++++++--------- > kernel/sched/topology.c | 10 +++++----- > 5 files changed, 18 insertions(+), 18 deletions(-) Thanks Joel