[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201014131900.1137cdc8@lwn.net>
Date: Wed, 14 Oct 2020 13:19:00 -0600
From: Jonathan Corbet <corbet@....net>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Cc: "NĂcolas F. R. A. Prado" <nfraprado@...tonmail.com>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
lkcamp@...ts.libreplanetbr.org, andrealmeid@...labora.com
Subject: Re: [PATCH v2 5/5] docs: automarkup.py: Allow automatic
cross-reference inside C namespace
On Wed, 14 Oct 2020 11:56:44 +0200
Mauro Carvalho Chehab <mchehab+huawei@...nel.org> 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
Powered by blists - more mailing lists