Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp737229pxu; Wed, 14 Oct 2020 12:20:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5C29KdLVQGYZVDdnYOA816OzFvbVNId8EKAuiiazs5FygHR92Ipn6lT9IBMbWMimLCNJ0 X-Received: by 2002:a17:906:72cb:: with SMTP id m11mr595863ejl.348.1602703219979; Wed, 14 Oct 2020 12:20:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602703219; cv=none; d=google.com; s=arc-20160816; b=Uq+BvlwGvG0UDN1CBeQmhQ7bKtPe2tXNJFAh/YOPfgYVIFICPu55q2IVZOA03SgH7u QAnUzVe4IxJYrVC+ZoNdSYt2k8HhdbfRSAHFIXXalMvFstfqRvX67aiYHka9+kxtwe6e O2WMRskMNRm2brXBW32OShkuKAe7FT/59nAhF/Ttsael3ralLFGPled+P7aMIek1PCy3 duLVJM2RijbMTlfwKd0rtizMwtVji8q/RBo+Lhakvsel4LzPw+ETu0jpra5NbdQ3+iP1 tEkXseDkhUzH5BEupIZqyX05uC8OcgU5JeYJo5jzLg1q3psue23NpxpduRfxrJoEHGWj JIag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=qp9VR8eRF2wAr7juIts0lqSlZvtwsmrHt13RwYNQVLY=; b=cOPmotGCXxpUyWzw6IPa97WM2BHUhMbUv0uaO3W2RCURz/plxYkfyCq6QDchmC/Zl1 AvIWdJM+EXaKRo0nNMH9xJyP5q/s3HjuQnShGTYHQfIZNr7v/SGIZy78l6tRBUlFgEme ZJzdLCn8QWkJxeYodsTbeW973sONC+cR5AWtGMwkpnhPY8Rky97xYR6+XHgiZvBb4/71 7fw4jaMaHoDFUKSRU4FQ+QqAVbP6hWoDgICFRGp4DYrN3XtaXDGHEnY9mGFvZWwDly5d TM4e61GwDnfYPyv79ZelKUtyioseekT4L+zQjJmLRNwd3gTevoIYHB424lk+99ExHWS0 TrFQ== 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 a19si289628edv.253.2020.10.14.12.19.56; Wed, 14 Oct 2020 12:20:19 -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 S2390603AbgJNTTD (ORCPT + 99 others); Wed, 14 Oct 2020 15:19:03 -0400 Received: from ms.lwn.net ([45.79.88.28]:32854 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389668AbgJNTTC (ORCPT ); Wed, 14 Oct 2020 15:19:02 -0400 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id F2D2E739; Wed, 14 Oct 2020 19:19:01 +0000 (UTC) Date: Wed, 14 Oct 2020 13:19:00 -0600 From: Jonathan Corbet To: Mauro Carvalho Chehab Cc: "=?UTF-8?B?TsOtY29sYXM=?= F. R. A. Prado" , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, lkcamp@lists.libreplanetbr.org, andrealmeid@collabora.com Subject: Re: [PATCH v2 5/5] docs: automarkup.py: Allow automatic cross-reference inside C namespace Message-ID: <20201014131900.1137cdc8@lwn.net> In-Reply-To: <20201014115644.7bda9918@coco.lan> References: <20201013231218.2750109-1-nfraprado@protonmail.com> <20201013231218.2750109-6-nfraprado@protonmail.com> <20201014115644.7bda9918@coco.lan> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 14 Oct 2020 11:56:44 +0200 Mauro Carvalho Chehab wrote: > > To make the first step possible, disable the parallel_read_safe option > > in Sphinx, since the dictionary that maps the files to the C namespaces > > can't be concurrently updated. This unfortunately increases the build > > time of the documentation. > > Disabling parallel_read_safe will make performance very poor. > Doesn't the C domain store the current namespace somewhere? > If so, then, instead of using the source-read phase, something > else could be used instead. That seems like the best solution if it exists, yes. Otherwise a simple lock could be used around c_namespace to serialize access there, right? Thanks, jon