Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp25638img; Thu, 21 Mar 2019 13:13:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwyfB3XoTDKBK9WFmc3QYPhESZK7p6FStWWGgkxYThIWbEqrNf0CrsmqOwSoxsv74G8OwKM X-Received: by 2002:a65:65c4:: with SMTP id y4mr5045414pgv.305.1553199222644; Thu, 21 Mar 2019 13:13:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553199222; cv=none; d=google.com; s=arc-20160816; b=yE66SS8heUWkPQH+vID0Ms+egKtVmpRSrVmTbt8seeOiHGGerrXHp2pdYdr8j2zEqh TZUNYC/UeRwOlBLfvUtfnE3fne7PAslW765YLKofRHZwjmn15FFctc91PiZwh8CvisNc sY6WhdzrG4yNapYaseLjTFzpeDQ6Jt7aoXs8v2jjqfK/kiRJatzTe52hdyrwOoUKyycy GaMRyvUScbJUWO2bsPSacAPRyNBuep0fAhnbiZBAHDCmbFqMCLurvHj46kyKN3S+gzOt rwRQwx3xmqMGP0ibAh0n9skpe4ccy6oa4mnz+4HV9Zj0U/YK6cSK7+Xg/jyajo8jVvGP Wigw== 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=3osBUvcyhyrWzc6SUUjiq7cH/vWck2Ywbs/D0tNqTdo=; b=iwJf+flkZpPItQ820nbq+he0BokuQVSim3alJaZmLrnG08EHl2CJLk87+IxIOdafmr 2bOa39n3e3GBe5fjq/IZplG6A4inZ1QBSw3OFgXTnEgMoippfF2nSEzULNEOCuhvKpvl vcM0zynh/RQcQznyPT/G2NZ28YNEQPkVguWOpOSPDdqsIHkqnX6noqTSjt2boh7AWO1I 6qzW6yHdUhSQ772M/PIdSR/Trce2vFga2LiTqhyonc1PzFnUFbKmXNd3eRhWl5O/RcX+ FZQLwvu3j21+8yfhmC0JkiNEG/HJIsUq5RD9COjYZX9vl2jHrRJVdUj6fXBwBVr1T+gu TIYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W9OV233m; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a19si4665580pgw.244.2019.03.21.13.13.23; Thu, 21 Mar 2019 13:13:42 -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=pass header.i=@gmail.com header.s=20161025 header.b=W9OV233m; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728831AbfCUUML (ORCPT + 99 others); Thu, 21 Mar 2019 16:12:11 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:36382 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728093AbfCUUML (ORCPT ); Thu, 21 Mar 2019 16:12:11 -0400 Received: by mail-ed1-f65.google.com with SMTP id e4so6120980edi.3; Thu, 21 Mar 2019 13:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3osBUvcyhyrWzc6SUUjiq7cH/vWck2Ywbs/D0tNqTdo=; b=W9OV233m/vjv38scInHNQBo82T9XOZd9oGX5rm7qqjAkWl+spjQ7PnRojJxebtA+u4 b5TiI+HcPdHR2UmgeRo1zd8vxbHHhO91LW8KyjvQ6DxGCrLsvW1grs8E/2Vn/n2n5iHi NevpdeoPRY4K+z0tsK77qtGtCext2SGaoad5XGEreFLmt1d6J3z4OuAvIglVDwJ4R0XK 3FVYXRkb1K3TDSLbr1ZyX6/Gf/jALP04tf3PW4C7WuUEvl0MlmxUpPR3MSHT/jGV6nYb UVdNxovGZWzBJFkogoR4rNIa3l6g/ULq6SzveNjeM2lINdyemY4bcT6eTm0Z/H4VUVqE FKkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3osBUvcyhyrWzc6SUUjiq7cH/vWck2Ywbs/D0tNqTdo=; b=TTigqiI9a0pDkHoz12IGK7m4T2SMZ0eO32UlO6yl/IaZ/Rpg5UDrnWvuN/WVr62BOn 8TEB6qvKcO6JsYLnndtFcmjIlJyGoI3JTnUgwtJKKO7Am9/NdBt8yUi9yxlO/Nd1SB3p KbshP3bDm5UjbJsaZ7rNdB8Eoy8vigXViQsQVkXse6KpcWaSqnFUI4cmDc+hhad60Czx Fj+cauADDZx/CUOylCkqBSyDny+VjD7GpJjbLKMJd9c5UDaUpycIQTQz/RRdbp8dUmFw EG563/8pTxX/KyRGzNu+O10MA6+Fh5392MFXU++hRXGPOmkMeXHKoY9xwr1e4gtwxjzb P7XA== X-Gm-Message-State: APjAAAU46nUhNZxVwCBJorb66GuUHZjliK2JEXEWoUkC6b0zg3O4Mbqm WS4uQMIGaHJKxlIq7XgQ9+g= X-Received: by 2002:a50:90ee:: with SMTP id d43mr3806494eda.220.1553199129766; Thu, 21 Mar 2019 13:12:09 -0700 (PDT) Received: from ltop.local ([2a02:a03f:4049:a600:5f8:c09d:c726:a758]) by smtp.gmail.com with ESMTPSA id i1sm1922461edi.15.2019.03.21.13.12.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Mar 2019 13:12:08 -0700 (PDT) Date: Thu, 21 Mar 2019 21:12:07 +0100 From: Luc Van Oostenryck 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 , Mathieu Desnoyers , Morten Rasmussen , "Paul E. McKenney" , Peter Zijlstra , rcu@vger.kernel.org, Steven Rostedt Subject: Re: [PATCH v2 0/4] RCU fixes for rcu_assign_pointer() usage Message-ID: <20190321201205.pmz2bmq56uqbcvyy@ltop.local> 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: NeoMutt/20180716 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(-) Looks good to me. -- Luc