Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp673311ybl; Tue, 28 Jan 2020 09:53:54 -0800 (PST) X-Google-Smtp-Source: APXvYqwoi2TaC4JDK/x+k27YzS5/sqhcqNMKdBgoenO56sS2XCdIXcTCJ5moa8YGqbqU2a06+Sug X-Received: by 2002:aca:5490:: with SMTP id i138mr3706373oib.69.1580234034317; Tue, 28 Jan 2020 09:53:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580234034; cv=none; d=google.com; s=arc-20160816; b=G4UxRIfo5vygcJc+tF9Hj7H+HMJ72rnda3JZwZRV48TVuZyhfoR0g5pRjCqyYiWFyF u6It5qvJ8+rmrkph4psfAjildKSclWOxV0ImvwWdpuBsAt2DCcG6tMZcuv4tMRIRt8Um WPxmf35QSm8kkdn7VHQUrfq7Akkq5f5GPcChcALATsoTK/uuW2yzIeKTXiwxYQiJslTj E2TzzBD7dwoeCzFL3L/W2jEo1attczQccmFfaV81qdeoUbN8LniwiHQdpWGVZTMtl6G7 YDXQEJGs417vR9ykJKEZieOFlWKa4XZyYA6EH/c6ErT0E9XktXx94ZNACOKsGCmXadtl ne2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=aox3Ojtpbf1uGVyivzdSe9eHNh3OMOvbJwogkhsi4fI=; b=a8BE87WjXGSFq/vIF7JWVhmcgSPgPQV1odhITdZLYUekCmCiGWonpRSiuxPK0Gpf4j WvBOvhmeaDBNdAc1evl0KZLjEjvNL5MHrNTnhxHsOOoAkUpB6FTeSh7/Gm2RAcOqxQVY 6FeYokgRp/gj88mMOKbjVttEAFlZhWpslE7VjsEKXfqSBTLwl8G5flTu4OiZ2fZeHp/b iF8OCkOYmj+ZBGsEmuUHjzIJOjDUoCzZSU/OMiMK6EIuEdiymWtNzVg0dTUUOo+Bxwr6 R+hnKRnxaRFeoPNx/J+iYqSafuuetEH3Uru0mlSFJMfHC1aDNa4rtWJcAKgzpF4rj1Lw Odtg== ARC-Authentication-Results: i=1; mx.google.com; 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 f18si9332007otl.29.2020.01.28.09.53.42; Tue, 28 Jan 2020 09:53:54 -0800 (PST) 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; 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 S1726749AbgA1Rwp (ORCPT + 99 others); Tue, 28 Jan 2020 12:52:45 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:34697 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726066AbgA1Rwo (ORCPT ); Tue, 28 Jan 2020 12:52:44 -0500 Received: from ip5f5bd665.dynamic.kabel-deutschland.de ([95.91.214.101] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iwV2T-0001Qo-Pj; Tue, 28 Jan 2020 17:52:37 +0000 Date: Tue, 28 Jan 2020 18:52:36 +0100 From: Christian Brauner To: madhuparnabhowmik10@gmail.com Cc: oleg@redhat.com, mingo@kernel.org, linux-kernel@vger.kernel.org, paulmck@kernel.org, joel@joelfernandes.org, frextrite@gmail.com, rcu@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: Re: [PATCH] fork.c: Use RCU_INIT_POINTER() instead of rcu_access_pointer() Message-ID: <20200128175236.vnaaviccbl2klrci@wittgenstein> References: <20200127175821.10833-1-madhuparnabhowmik10@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200127175821.10833-1-madhuparnabhowmik10@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 27, 2020 at 11:28:21PM +0530, madhuparnabhowmik10@gmail.com wrote: > From: Madhuparna Bhowmik > > Use RCU_INIT_POINTER() instead of rcu_access_pointer() in > copy_sighand(). > > Suggested-by: Oleg Nesterov > Signed-off-by: Madhuparna Bhowmik Applied, queued up for post rc1. Thanks! Christian