Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1798497ybn; Thu, 26 Sep 2019 02:21:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvslvlmymMEhk1EnI3XD83PIP4HBvOvqjPLDuelX9bTL5iXDQNWlIbKU1AA7VwokGIzJDR X-Received: by 2002:a05:6402:1e4:: with SMTP id i4mr2436248edy.31.1569489666802; Thu, 26 Sep 2019 02:21:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569489666; cv=none; d=google.com; s=arc-20160816; b=AJgMVm72tN9Tf4zZ+N2oiNN4k+ITchI9kop78tegWbNh0V84HVg0uociEmuvn/Ab/v Ti+Jorkc9qHCFXDMoRTBmr/OskccgZUbuoZhf3umviaXYdhL0r1GOeqBcipUPpOH8rDi EZXQDuMmcMd2mBvlrwVceyeMUwrtO/FdndHxgS7biCugoefCPwsTWromHO7MW6zSRXuZ 4tOpyapQESZNqm6vQT6ss3Ulegr0oY2zD5TQK0HmGnXpXpzV83bfVh912BPuc+9egxDL sm0REjRG/lZ6rBamN6eUB8Yg+ffUHCWYy8oGjJaG2iALipIXaYKWtqAKWGrZcjNzceVH vKdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from; bh=GQRfpgNnLt++HH5FdLuohZ19USe8lHHvEQXq00s0lTg=; b=P6XgZx+031e2bN7VoyrkDawWShYiabiNR0zlWT+NCPTD5mhiJha3Wkzr1QhlsLiKa1 hqa+tTG2OiXD65TLFuZbhny738xUTzJfwff4KGfx2mJHTVM+1WYw75LIaib9ZyEmnNGx 71OEnSwb76bG8NMNxZsek+2oMN3+W1gPIlM92umZmEc2SnrMqfzf5iGiWJ0Qm+G0rlSZ 9r5CFOplyP8uj+AitvUopn+CL3sIkR3WvuusboDMo9TB0zw7QjBcM4/rmE+f8JtYNCRA Oz+xUstT98mSZrZfmDMKuqGksJ8nj8oSDL7VTttbLd5WqwcvCYK0IBCFGKdXE72/XWD5 5Ddw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s14si1057575edc.83.2019.09.26.02.20.43; Thu, 26 Sep 2019 02:21:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2442762AbfIYIfY (ORCPT + 99 others); Wed, 25 Sep 2019 04:35:24 -0400 Received: from mga17.intel.com ([192.55.52.151]:57339 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405299AbfIYIfY (ORCPT ); Wed, 25 Sep 2019 04:35:24 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Sep 2019 01:35:23 -0700 X-IronPort-AV: E=Sophos;i="5.64,547,1559545200"; d="scan'208";a="183186690" Received: from jnikula-mobl3.fi.intel.com (HELO localhost) ([10.237.66.161]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Sep 2019 01:35:20 -0700 From: Jani Nikula To: Kees Cook Cc: Jonathan Corbet , Mauro Carvalho Chehab , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] docs: Use make invocation's -j argument for parallelism In-Reply-To: <201909240910.D6E5C767D1@keescook> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <201909191438.C00E6DB@keescook> <20190922140331.3ffe8604@lwn.net> <201909231537.0FC0474C@keescook> <87pnjqtbft.fsf@intel.com> <201909240910.D6E5C767D1@keescook> Date: Wed, 25 Sep 2019 11:35:17 +0300 Message-ID: <87blv8u62i.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Sep 2019, Kees Cook wrote: > On Tue, Sep 24, 2019 at 10:12:22AM +0300, Jani Nikula wrote: >> On Mon, 23 Sep 2019, Kees Cook wrote: >> > On Sun, Sep 22, 2019 at 02:03:31PM -0600, Jonathan Corbet wrote: >> >> On Thu, 19 Sep 2019 14:44:37 -0700 >> >> Kees Cook wrote: >> >> >> >> > While sphinx 1.7 and later supports "-jauto" for parallelism, this >> >> > effectively ignores the "-j" flag used in the "make" invocation, which >> >> > may cause confusion for build systems. Instead, extract the available >> >> >> >> What sort of confusion might we expect? Or, to channel akpm, "what are the >> >> user-visible effects of this bug"? >> > >> > When I run "make htmldocs -j16" with a pre-1.7 sphinx, it is not >> > parallelized. When I run "make htmldocs -j8" with 1.7+ sphinx, it uses >> > all my CPUs instead of 8. :) >> >> To be honest, part of the solution should be to require Sphinx 1.8 or >> later. Even Debian stable has it. If your distro doesn't have it >> (really?), using the latest Sphinx in a virtual environment should be a >> matter of: >> >> $ python3 -m venv .venv >> $ . .venv/bin/activate >> (.venv) $ pip install sphinx sphinx_rtd_theme >> (.venv) $ make htmldocs > > I don't mind having sphinx 1.8 (I did, in fact, already update it), but > that still doesn't solve the whole problem: my -j argument is being > ignored... I meant, *part* of the solution should be to not have to deal with ancient Sphinx. BR, Jani. -- Jani Nikula, Intel Open Source Graphics Center