Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp389603ybh; Sat, 18 Jul 2020 07:09:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2hRjDVOu9WKcTs3JrflJwdT0hnDmz3KTvyFt83tCconxqwEqxWQHQT+L/WUJgvDlbSLmx X-Received: by 2002:a17:906:1c5b:: with SMTP id l27mr12654031ejg.188.1595081379949; Sat, 18 Jul 2020 07:09:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595081379; cv=none; d=google.com; s=arc-20160816; b=McAtcWhalgJ9FAsb7S7qejcLV6O8MXiQteS57DnejNF1ANrv8fAvcVURNJ//flfL5f YUEcvOQ5UXQj6w20Cf8qDfesRL93ZkCkNA1gq6yB+OOY5of5mgiW16C2qzvZIfZcTCSQ rpDrQJLHcwmZ47wl2WmTQJaHaMsigemNhsEeh7MDGD/FG7+0ZNQbXe18W8E/pMzNpBIB g8CqjC8m2jRSxJYB0RVJ9qJ7rRJdl4l0BMdRLWVyJpfdbi4+tDXanA2S6xvtRqPa4uHt xSMjfXdnvDtYuKuHrgI+13lg/6JC14EaAWtbO1ouA46L6dLScf/XnRlp8Rq9KJrXiXK3 jUBQ== 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; bh=Z8G+5TxsLj4zB8Tje68jpux6zgN1KLTo4FeMwRY3b64=; b=GGdQ+74dmHHKxdmPNMlehzp+KaRZqnwKTVof+iCV7P/Vda9+ojm62nItCHIuD4VGy8 fyGF92gi1D30JFB5BiEdJGjdJ5I/VvkR1LSkUW8UOQUw6mP8Up7dnM9gvllNRnnk7+Uw RdJ5eLBDOMy8jWp/l6dpgkcQYfch1pEZ+zcIkVoIsjrquBtqF7r3KLDkjm1XIud1fZWt /m7xJTmGhTE7ak8Dkr+ZYHO6c3vu5VHtXKq5Drcidh1mhYLlZzb5GyPmHo5WNoL3Spya MW7H2kiYA4BqGaOwtAIPwavN+RJkVDj97aU02no8WQeifAJYp4XeeWZtqb7438paXAbS CwcA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l23si7341172ejq.14.2020.07.18.07.09.17; Sat, 18 Jul 2020 07:09:39 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726574AbgGROIN (ORCPT + 99 others); Sat, 18 Jul 2020 10:08:13 -0400 Received: from netrider.rowland.org ([192.131.102.5]:35659 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1727771AbgGROIN (ORCPT ); Sat, 18 Jul 2020 10:08:13 -0400 Received: (qmail 1180025 invoked by uid 1000); 18 Jul 2020 10:08:11 -0400 Date: Sat, 18 Jul 2020 10:08:11 -0400 From: Alan Stern To: Dave Chinner Cc: Eric Biggers , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, "Paul E . McKenney" , linux-fsdevel@vger.kernel.org, Akira Yokosawa , Andrea Parri , Boqun Feng , Daniel Lustig , "Darrick J . Wong" , David Howells , Jade Alglave , Luc Maranget , Nicholas Piggin , Peter Zijlstra , Will Deacon Subject: Re: [PATCH] tools/memory-model: document the "one-time init" pattern Message-ID: <20200718140811.GA1179836@rowland.harvard.edu> References: <20200717044427.68747-1-ebiggers@kernel.org> <20200718014204.GN5369@dread.disaster.area> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200718014204.GN5369@dread.disaster.area> 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 > This is one of the reasons that the LKMM documetnation is so damn > difficult to read and understand: just understanding the vocabulary > it uses requires a huge learning curve, and it's not defined > anywhere. Understanding the syntax of examples requires a huge > learning curve, because it's not defined anywhere. Have you seen tools/memory-model/Documentation/explanation.txt? That file was specifically written for non-experts to help them overcome the learning curve. It tries to define the vocabulary as terms are introduced and to avoid using obscure syntax. If you think it needs improvement and can give some specific details about where it falls short, I would like to hear them. Alan Stern