Messages in this thread | | | Date | Wed, 14 Oct 2020 13:19:00 -0600 | From | Jonathan Corbet <> | 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@kernel.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
| |