Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4905075pxu; Tue, 13 Oct 2020 09:48:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZ2aSKk2v5KSlcCLHP7KoJ9tvdvx4tBTb6zSlDhy7eVYMQDpgtMQRS6XitI8Rp0U8nZiOW X-Received: by 2002:a17:906:3bd7:: with SMTP id v23mr719625ejf.100.1602607684973; Tue, 13 Oct 2020 09:48:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602607684; cv=none; d=google.com; s=arc-20160816; b=tEVistWY2r4ezfuZxMH5r7US97RexXTii4MrcyQDN/UVqdOjrzqiEuTsoiEgTIC1SR erbdOYBNZMT6CrcbGv3TuckcUJhCPjeoCqB/FZNI5ugPxf4y72dzR/ljyoimKt+ajvkP N0LjnzTkwX8roIR7pBdrjpfCPIF4dNnlW6LMNeNx/vDBx2DTsqJGKpuHvZZUo4iizyDp JD/l+x8UIebBK/zxSu9x3lJSgwnmPU0G2bs9Gh/YKUe+4wiof4Ttl4OuelfN2zKKr84w nBNZj77I1wxrXGmU2Wn/EhS37aeJs8H9PFht0d2a0WW8BBKfGrnLoxoEylomjp8qyNxB wl3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RNXfW7bYul2Z/mtjXLdjVi6iWtUSkZlWaQ+v8KBn4Fk=; b=gUags2eVyIOyVWZ9a1+RPyk/YoKS3KPwe5dBPVABEbuiUdvSTq9RYzUTSWb2tZXH4v SA8xmwp+KRfDs9n8+iOJQPIJNRafVMEpU7Gr5H4GkZIv5tD6+88SLLr3wM5gc/gLJkAL o8imVPX7QUqQvkR+P522U8ReGv/A75PRQHB27f6nR6UJCE98MP5scSonIEZtfuS9WzAR rN5OHN6+DAkpfgjTUYEy/w3YQ/BNu9S4wT6IFHwEDUpFVnvJXh4wmGV7/6sBfUurfSWI NZlFzSOT7pC76dxdQ1vCcMps0BRO1Kmj7+dXG3jHPNIN24ioCEZBOEXaYpso6yooyYVz yr+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=IK7mrbZF; 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 u17si120124edd.286.2020.10.13.09.47.42; Tue, 13 Oct 2020 09:48:04 -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=@infradead.org header.s=casper.20170209 header.b=IK7mrbZF; 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 S2388353AbgJMOJx (ORCPT + 99 others); Tue, 13 Oct 2020 10:09:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727340AbgJMOJw (ORCPT ); Tue, 13 Oct 2020 10:09:52 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE7FCC0613D0; Tue, 13 Oct 2020 07:09:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=RNXfW7bYul2Z/mtjXLdjVi6iWtUSkZlWaQ+v8KBn4Fk=; b=IK7mrbZFjQLDdDpSvV3gsLJXmh GVLHH/oF51gzt7h1QYJ6663ShxzQZKGnQY7clmJ7yeuYGa0+7+9C3miPFYram+16nDjzrZIVn2fTI Pec+FD7hkbjNbwKX6Xtgxw1dX4YW4XqX6gIi15/rh0EPkYsOqwALBLF4WS6eHvp60s7kjC6tfp2CC igHQwKA4SNDk4AMbqpsaWWLBhF8w6H7lDUgekDuM5b7Wv7/zfSQEfBI7Q7hBUTS/phs2p666SIMCL vGO+eG+hXZJtUGlRVtcwj+iqi/xPv3Lf/QvFZhZgqhyqaDFi9Xe0iKi6UDVmWHdA2jwj99Vlkp0Dg w/kBBHOw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kSKzn-0003uh-Vg; Tue, 13 Oct 2020 14:09:44 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 51E90300DB4; Tue, 13 Oct 2020 16:09:41 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 3EA042C619756; Tue, 13 Oct 2020 16:09:41 +0200 (CEST) Date: Tue, 13 Oct 2020 16:09:41 +0200 From: Peter Zijlstra To: Matthew Wilcox Cc: Mauro Carvalho Chehab , Linux Doc Mailing List , Jonathan Corbet , Boqun Feng , Ingo Molnar , Will Deacon , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 04/24] docs: lockdep-design: fix some warning issues Message-ID: <20201013140941.GC2594@hirez.programming.kicks-ass.net> References: <20201013125206.GU2611@hirez.programming.kicks-ass.net> <20201013131116.GG20115@casper.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201013131116.GG20115@casper.infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 13, 2020 at 02:11:16PM +0100, Matthew Wilcox wrote: > On Tue, Oct 13, 2020 at 02:52:06PM +0200, Peter Zijlstra wrote: > > On Tue, Oct 13, 2020 at 02:14:31PM +0200, Mauro Carvalho Chehab wrote: > > > + ===== =================================================== > > > + ``.`` acquired while irqs disabled and not in irq context > > > + ``-`` acquired in irq context > > > + ``+`` acquired with irqs enabled > > > + ``?`` acquired in irq context with irqs enabled. > > > + ===== =================================================== > > > > NAK! > > You're seriously suggesting that: > > - === =================================================== > - '.' acquired while irqs disabled and not in irq context > - '-' acquired in irq context > - '+' acquired with irqs enabled > - '?' acquired in irq context with irqs enabled. > - === =================================================== > + ===== =================================================== > + ``.`` acquired while irqs disabled and not in irq context > + ``-`` acquired in irq context > + ``+`` acquired with irqs enabled > + ``?`` acquired in irq context with irqs enabled. > + ===== =================================================== > > this change makes the lockdep docs less readable? Definitely makes it harder to read for me. My C trained eyes go WTF at seeing it, which breaks the flow. ',' is a regular single character constant, '','' a syntax error. > It's not the markup that makes the lockdep documentation hard to > understand. I'm not sure what you're alluding to, the subject just isn't easy to begin with. Over all I'm tempted to just convert the whole thing to .txt and avoid all the RST shit entirely.