Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4437871yba; Tue, 9 Apr 2019 19:42:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyckhNx1Fddr2U9+xazqKV5DgbAZ/2JmX70DmHE2O1bO933GLm05ByFRpATVMR9dz1t297e X-Received: by 2002:a63:ad4b:: with SMTP id y11mr36801649pgo.405.1554864135254; Tue, 09 Apr 2019 19:42:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554864135; cv=none; d=google.com; s=arc-20160816; b=fZyA2p2+mDtQ1oARQNrI/59SNr7alki4xkJ4t+FK/jTG90pFIZ7mOsn29hLTrqk5oG tBnfCgCy2X8s4MEubWAmAmEvrIm8eDOJ+ODai57o4Mv/qaWIjMLq5bkDPK/HynVyPcyK /IYStru3qgP0GCtTWyH9Gl4FETHYA0X0fbiu9PVoswiTDdQpuUVvKuvGDdzLdQrvSnMe 1XPcwdw9JR0UIQf9/Gb3MWkjgplE1th4FB6hWhDLHOoW/63ZP2fGsJbpdgl9h6CQPc50 E+QSsyvKJz+ow5l1sKHz7VyMksJGgV2tyg49l6QjKiv3H4msjW25/CL2cUwTG5sfVs/9 dYrw== 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=hmxJbcmpcRKolt0y4TtJCgsfV3S1RFujMG9xLTLcYAU=; b=BMPPDABwQQk0LyqDaUtl79NgbHLwnivpxps0h1wbhH9OEU/Jf3rn2mN6UNgr4Qp36E GLmyL/amUDWZn632zAX+XSkwuJLDRRM7DuvpvNMznf9z7mEMdZdTJNM8wRRSC7j54mEE F0kDm6C5uAxF7ujo9FlRE/icqbhGqBLKKoqRPmtC3ALMysCPzt9yzFeU55yMmDDNpEdS N0086HJyhUAXtwUrOvi0eXamTV2jg+8mnkfLCqTR2zy1Z425ryV1yif7JfNWlf/6ltMr qWoSiA7gT81bPFi5xwkK9isUg8RPdPQD/gMwO2rPWQAliaX1EUtAbJX6p08ndK5xk/f/ s1iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=wxabqZ17; 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 16si30480407pfh.244.2019.04.09.19.41.59; Tue, 09 Apr 2019 19:42:15 -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=@joelfernandes.org header.s=google header.b=wxabqZ17; 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 S1726886AbfDJClG (ORCPT + 99 others); Tue, 9 Apr 2019 22:41:06 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:37451 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726636AbfDJClG (ORCPT ); Tue, 9 Apr 2019 22:41:06 -0400 Received: by mail-pf1-f195.google.com with SMTP id 8so472309pfr.4 for ; Tue, 09 Apr 2019 19:41:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=hmxJbcmpcRKolt0y4TtJCgsfV3S1RFujMG9xLTLcYAU=; b=wxabqZ17O7Yoh0ZoMWH4H8f+kWm3Dm89RpFDf0lUxKk9f5VNaeTPz8GjUA2q/buX2l yTdXCNs1RS0KX9nKZlAgqyvJ3Obbuhjgluwk3ESIK8xvIvLNa5s+w1HLSBIZqPHfITEW IWFP74uQ621MNPP+GpdAaC45r4SJAtZCCWbP4= 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=hmxJbcmpcRKolt0y4TtJCgsfV3S1RFujMG9xLTLcYAU=; b=nYsQjYMD6NOrmXk0uFxCbh488GQ6znTrR21qQzrJucZldxHhkaEcfb7CSt9kPl+pR/ OgTa6BFbBEwicFurD9rzDhw+EYcP8Doxc8fEGENSNl4AJMxoIhGsEuGeBOFhQOhTdwDh puTULmA7s8/E5ibDwjqUpINcYspGPt+A9GmMfuSHb6u4U6Hc+H21yqbrK4O+CIdFeYj2 g+Rn7BC+wNWut8W0JJ8wJ/TBwOVM96XEJBb9ywbsETiL6cXr9O9rxo4Sn/BwWEPWz1AV UiNnaMMHrxFl504rpukZPa1sC/2Nm3viowSc1GHV5RjJfRd/vAaZFObZUqo4E6IBv8tD n89w== X-Gm-Message-State: APjAAAWco+HhIuANIIQebovO6ntQIrhXDwKp/OekBaXKSoMbGOK8kqRp 4bCMVIJx/eYGC5JhQl9cuCLlcw== X-Received: by 2002:aa7:8092:: with SMTP id v18mr39701425pff.35.1554864065313; Tue, 09 Apr 2019 19:41:05 -0700 (PDT) Received: from localhost ([2620:15c:6:12:9c46:e0da:efbf:69cc]) by smtp.gmail.com with ESMTPSA id e13sm55441280pgb.37.2019.04.09.19.41.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Apr 2019 19:41:04 -0700 (PDT) Date: Tue, 9 Apr 2019 22:41:03 -0400 From: Joel Fernandes To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, paulmck@linux.vnet.ibm.com, keescook@chromium.org, Jessica Yu , kernel-hardening@lists.openwall.com, kernel-team@android.com, mathieu.desnoyers@efficios.com, rcu@vger.kernel.org Subject: Re: [PATCH 2/2] module: Make srcu_struct ptr array as read-only post init Message-ID: <20190410024103.GA104423@google.com> References: <20190410011418.76408-1-joel@joelfernandes.org> <20190410011418.76408-2-joel@joelfernandes.org> <20190409223820.511e3671@oasis.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190409223820.511e3671@oasis.local.home> 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 Tue, Apr 09, 2019 at 10:38:20PM -0400, Steven Rostedt wrote: > On Tue, 9 Apr 2019 21:14:18 -0400 > "Joel Fernandes (Google)" wrote: > > > /* > > - * Mark ro_after_init section with SHF_RO_AFTER_INIT so that > > + * These are section names marked with SHF_RO_AFTER_INIT so that > > I'm curious to this much of a change. Wouldn't just making "section" > plural also work? > > "Mark ro_after_init sections with ..." Yes, I will change it to that and actually this comment change should go in the previous patch so I'll squash it into that. > Other than that, the two patches look fine to me. Could I add your Reviewed-by in the respin? thanks, - Joel > -- Steve > > > * layout_sections() can put it in the right place. > > * Note: ro_after_init sections also have SHF_{WRITE,ALLOC} set. > > */ > > @@ -3314,6 +3314,13 @@ static char *ro_after_init_sections[] = {