Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp184614ybl; Tue, 28 Jan 2020 01:05:35 -0800 (PST) X-Google-Smtp-Source: APXvYqzf50zUUP/yYslzLWEy64Bx6QkLeRBA12JRpsJCZhlRllFt583bBw+lm8dQApk6HARfiiDT X-Received: by 2002:a05:6830:154c:: with SMTP id l12mr15492006otp.275.1580202335576; Tue, 28 Jan 2020 01:05:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580202335; cv=none; d=google.com; s=arc-20160816; b=pyaoel8+DfHXUYoG/7EEEdHpc5zSc3klAQJ0nhMQdCCqen5Zsi1LDYIBkjj3ZBxW8v i5t3b3O5nwrQS9TGS9xKVw+765szcYK0zg5QufqUOT+0YIHPMhOsIy/xTH2dhfLhO/Ln d+7HPD/j322lKO8rQ0vQZU1NvScAsOx29CcktuMSnAEr7y38kuGNX0UAi9gceGg8cK+Z aTUHKOpzO2woMnTES2JIbygVe3NzBGEYFQfocnJUpYTqC29Go2Bg9wqWv3f3TcqBWuCn jMYzQsqKXJ4jxlrrTAa/h1U70IB3lLi9Ypna4tQ5Uthn9CDehiT/cXre4oiantoB4pIz kZfg== 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=LLU4/Fx0DJAtz+DK2xckNec+YRV4KdDullJ4uTP6j0o=; b=PY9KloidMu7zYAKeYGXdPYiTJ095UOH/uccKU1nxVDQNLfEK9Oo4hwdqlx0a/y1UNn RyTW7pOFV8Nu7JF8oaYzV3yxP1uQd7JuDwXT+gO+rrQjWDvDMbYQvqZgTLiydaXK4SM3 OH5sIl7zWsNd9CPI3BGlqawiv3N7ePdyoj8IlbLSJi74CqeDmL6cepLlq8+BU4KXI2tC yvXmCLYAHt4f7xE55Ky3NmGvb4u/CZJFAG/VWgBJjk+6NeQbTkZm3UKm0E3lQdnpQRQA /POmg/6EH0eXRHVDA/Gqs3puYmhtmvzG37O61gUbSuMpXAZAcgZt5ndvpcsHGUTliXAB B7rA== 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 g25si8999376otp.20.2020.01.28.01.05.22; Tue, 28 Jan 2020 01:05:35 -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 S1725914AbgA1JE1 (ORCPT + 99 others); Tue, 28 Jan 2020 04:04:27 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:51436 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725853AbgA1JE1 (ORCPT ); Tue, 28 Jan 2020 04:04:27 -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 1iwMnD-0007sp-Q3; Tue, 28 Jan 2020 09:04:19 +0000 Date: Tue, 28 Jan 2020 10:04:19 +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: <20200128090419.4gvyfggzg4ohb42t@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 Thanks! Acked-by: Christian Brauner