Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 85513C64EC4 for ; Wed, 8 Mar 2023 18:53:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5BAD985DCF; Wed, 8 Mar 2023 19:53:19 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Pj98RCJ2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9B57085DD5; Wed, 8 Mar 2023 19:53:17 +0100 (CET) Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 761D085DCB for ; Wed, 8 Mar 2023 19:53:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-pj1-x102b.google.com with SMTP id kb15so17408874pjb.1 for ; Wed, 08 Mar 2023 10:53:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1678301592; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ipU9Eu+cRRkogcb0Go+uUN6E+wd0GA8oEyHKZB8Om9E=; b=Pj98RCJ2QQFJfO50/h8mdXAw9Dse7CxLAhptZgJhVLEcAVjy/nS5/cHfCQw7gHOy5M qyBSmDO2JiOfnnr38vYSzQU+mjXUEJvZ/gSMP5FvkPV6lNgHzLVdOctLLwPsSmNvWUKy PngbNTugrUCkTRcllbRKMZ8PQBsSKfEC4WNUI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678301592; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ipU9Eu+cRRkogcb0Go+uUN6E+wd0GA8oEyHKZB8Om9E=; b=qqPqOVFWuHbp156Bc+NEtlLG3gOTF20ZAgivfsmP8ozjmBrLaBX14+TnB0ZQJuSVh+ u/QQjLbLRQEQF+kEpj8Y7TYeuD9ja394fZu35z65T+iKWPnRyXQB6aH5/gRbiqOBk6YO C5pw1257YKLkI9rKtbN+86So6j9Tme9RoQ64mFCch0mx5/nyTNLlI5sP3XCWxotwChVA mj8prFwfHrJd+949f36fVm73Ttj+Jh+Yf+HTUbmo/nQZrTPoIw0DusKkOki1Q7+k9HXT I4OlczC78zJ5fNzIJHYWmU7yXwBXt46ciJjDs3eEI4M733rcETR9ZDt1+4avnWEJgMYH 8nzg== X-Gm-Message-State: AO0yUKU0qs0wj2nbOUk0EehTHVxwGJu+NtPFtH96JE1R0cWw90MUCnZS vPK3xOhV7PPHnYXaKRXFn/mSqSFxAio982e3Z04= X-Google-Smtp-Source: AK7set84JmAAr+rxKBETXlXUT5BIwssPAssKtPYLCak7J4QZGqE1OB9udB5hEziwlFadqk/VGdQaMQ== X-Received: by 2002:a17:903:2344:b0:19e:6e29:2a8c with SMTP id c4-20020a170903234400b0019e6e292a8cmr23960655plh.5.1678301592495; Wed, 08 Mar 2023 10:53:12 -0800 (PST) Received: from sjg1.corp.google.com ([2620:15c:9d:200:f975:4c6:dcaf:7762]) by smtp.gmail.com with ESMTPSA id kf3-20020a17090305c300b001994fc55998sm10134198plb.217.2023.03.08.10.53.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 10:53:12 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Doug Anderson , Simon Glass , Maxim Cournoyer Subject: [PATCH v3 0/4] patman: Speed up some operations Date: Wed, 8 Mar 2023 10:52:51 -0800 Message-Id: <20230308185256.120345-1-sjg@chromium.org> X-Mailer: git-send-email 2.40.0.rc0.216.gc4246ad0f0-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean This little series updates patman to run the get_maintainer.py script in parallel for each commit. It also does the same with checkpatch. In some cases this can make a dramatic different to the speed. Changes in v3: - Mention the commit where the -a option was dropped - Reword comment for all_skips - Sort the set directly instead of converting it to a list first Changes in v2: - Fix 'uncorrect' typo in subject - Fix missing 'f' on format string Simon Glass (4): patman: Drop an incorrect comment about git am patman: Refactor MakeCcFile() into two functions patman: Run get_maintainer.pl in parallel patman: Check patches in parallel tools/patmanu/checkpatch.py | 46 ++++++++------- tools/patmanu/control.py | 2 +- tools/patmanu/func_test.py | 2 + tools/patmanu/series.py | 108 ++++++++++++++++++++++++++++-------- 4 files changed, 113 insertions(+), 45 deletions(-) -- 2.40.0.rc0.216.gc4246ad0f0-goog