Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp345490ybz; Tue, 21 Apr 2020 10:05:50 -0700 (PDT) X-Google-Smtp-Source: APiQypK1sqLRB49QU+tJsdWJNMAbKvnvgGXyS4I0KObGMSCAgSX1x5lS+C/4vowLDUKx7JizTZoS X-Received: by 2002:a17:906:4406:: with SMTP id x6mr22686396ejo.160.1587488750844; Tue, 21 Apr 2020 10:05:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587488750; cv=none; d=google.com; s=arc-20160816; b=FqMi6H3Uvywn0lZDQh57d7g2zqzWlUuldKKWVpWglLOc9ZuYpQks4sk00MPSmcp8pj crfqHitQ5ChhkGf9hJG8mtV+yISZ7iYelItVOmIElEZsvdFtRqnrqYoCI/UTUpH8LfsM jAsYhuJ4BFnZ3sf8q4bmI+6j2Psfy72T38OKBLJyGz5EIE4fpfujC4RlidWwZy5H6TX6 xASP/exSKbcTCINY/2A/Ml/fa06x0te624vum+eshOlXKLhvQ4mMCtf+cvVLyTx5yMDd kATFTIW9AVzXokGPHSmqG+qpXhk30wNwLJMOozp7mOyPjNbSsx2J6VevKlxAZWHnmkua QMYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=c0WfWI1kE+o+Od1spKmw3rFpW8MUNoB5GWU8DL3DlD0=; b=IhGb89a7ea7H+V167nkLXps754VmuQRx+Mv20wUtrdb8Qm0BxI7NwQdCXm698oqZcR 88924iIYUypaCXs6dn0cgqAed4gPKAU6qHbpCqU2j+Amxyfo0GB7sscqM1vgdUWDgaQI /f+hzCCtxr2MnUBiSJTz7U+BrmDw00U/b+smJ72Qs4/E4RQhD4aQQTOYB5y4hm3UFRp9 y0TwnoMYWSpjXSD0MA4FDetNFmLxMjKdnz+r/+DSZaVwO09JMYNGP8fzv6spwBOLuU9b 9zFwF3cblM3iSBBHKf7SNWGSfE7pHBBzrJezzDg3JatW1ZNGM1gzm/ZaRQamBNqi5nWH /ZAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=M1S+VTU4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k23si1766135ejd.105.2020.04.21.10.05.27; Tue, 21 Apr 2020 10:05:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=M1S+VTU4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729223AbgDUREV (ORCPT + 99 others); Tue, 21 Apr 2020 13:04:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:33648 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728956AbgDUREP (ORCPT ); Tue, 21 Apr 2020 13:04:15 -0400 Received: from mail.kernel.org (ip5f5ad4d8.dynamic.kabel-deutschland.de [95.90.212.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1F65E2074B; Tue, 21 Apr 2020 17:04:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587488654; bh=KOSXgY1unDOeRzswCJwrDcxcwNLE7Z9tDt1GWUVn2c8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M1S+VTU4DV4AtzQnb/fUz1DTMMZA1ZVDwebDLNTWnmSYC3l0r/EuY0jZXOB5ClXhV bvnHgm8yp6JfIZ1StUEfpZ67/ythA5EvYNeEciuDPp/bOvsKoLLvjTwAfPbUTvEOs5 iiaVxsmqQQMUlCwVVdlisHD7IhWS9RNwyaYWWdqw= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jQwJg-00CmMA-A9; Tue, 21 Apr 2020 19:04:12 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , "Paul E. McKenney" , Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Joel Fernandes , rcu@vger.kernel.org Subject: [PATCH 10/10] docs: RCU: rculist_nulls.rst: don't duplicate chapter names Date: Tue, 21 Apr 2020 19:04:11 +0200 Message-Id: <6ec433635785b2f25f952c70fb7bcfbab858a6a4.1587488137.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since changeset 58ad30cf91f0 ("docs: fix reference to core-api/namespaces.rst"), auto-references for chapters are generated. This is a nice feature, but has a drawback: no chapters can have the same sumber. So, we need to add two higher hierarchy chapters on this document, in order to avoid such duplication. Fixes: 58ad30cf91f0 ("docs: fix reference to core-api/namespaces.rst") Signed-off-by: Mauro Carvalho Chehab --- Documentation/RCU/rculist_nulls.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/RCU/rculist_nulls.rst b/Documentation/RCU/rculist_nulls.rst index d40374221d69..a9fc774bc400 100644 --- a/Documentation/RCU/rculist_nulls.rst +++ b/Documentation/RCU/rculist_nulls.rst @@ -10,6 +10,9 @@ objects using SLAB_TYPESAFE_BY_RCU allocations. Please read the basics in Documentation/RCU/listRCU.rst +Using 'nulls' +============= + Using special makers (called 'nulls') is a convenient way to solve following problem : @@ -126,6 +129,9 @@ very very fast (before the end of RCU grace period) -------------------------------------------------------------------------- +Avoiding extra smp_rmb() +======================== + With hlist_nulls we can avoid extra smp_rmb() in lockless_lookup() and extra smp_wmb() in insert function. -- 2.25.2