Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp586087rdb; Tue, 5 Dec 2023 13:50:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IGT/Z4jf2ue1BimwFfHdxRnWiZih9Mn2bWqkbOCZyJhTws9YCo4YpHJ5BtGdFIvn8q4JVnr X-Received: by 2002:a17:902:da90:b0:1cf:dce0:4d60 with SMTP id j16-20020a170902da9000b001cfdce04d60mr2153856plx.6.1701813038731; Tue, 05 Dec 2023 13:50:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701813038; cv=none; d=google.com; s=arc-20160816; b=JadkDiqwlPXyHDZbvrX6B2urwdB+8ccWy5kxEzcWKamDVHLogMA0y+0ELBJBbkN4Xy UppLn8ZP9e/C0V4G9AvO/P+bNAu1dkOiUW22Ln1Nq9SbThOCyH20Fux4F+moeBroxSiK /ipTler5+qaKA4uQCrLm1sWfchFORdUNNbNf0FQqv4ot9tS9Rnmt5Q8ZtkXdCl8lbelk CzLsOTXTFzBjJiAGUQlo6ptxuDtu9Q8tVWuZPwy+TjDgivA9sF4jcIA7GVbYmRsvLMRH +Li+iFNrA1Kv8XQiDOmoHYeBqxX1Y3FSl9JYBCa6SyVdjHLeIHDqhv8YqiLZORxYNS/j 0/cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=v+nGC51Y08dvCLwgGdW1Vo4ms2jShWPah0J+w9FoE4o=; fh=y+IJc6TILPmMQLz4jUkW/oj3J5YptAEU/RIqYHd6Nh8=; b=v8O8ZhirDLx0zEzmtqnHr1g82tGu6goaXDjxwyqk8cAzK7jzhxatXGjdqmP3OobbHC RA7ZpRfnLkjLXzWsJ//yGKtj0KiUMsKk8Cjcb/w+dHdsW0sRmaJvcmeNd75qCQbQJKm6 L/6vKzQRMdFeTTJkVKizbqUqnyOZCw4LOOTQNwXfHBWta4TYjf/Z2Q9HmzXGPz80uP9F 2Jr31r5sBGAw0h1PA7K5ix9JLhc4aCJpzOy+Iies6fNS4Q2L1sb3jX3/NAfYXj2VAMCB CGYv9E7K+lFpNglHrx+LAWhkjQoVLMM76uYoE6wxtD0XV/LuFmlT1KpCxGcVyApG3rNg lpng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id u24-20020a631418000000b005c685a3f4acsi4372981pgl.887.2023.12.05.13.50.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 13:50:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 431C680B8E5F; Tue, 5 Dec 2023 13:50:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230106AbjLEVu1 (ORCPT + 99 others); Tue, 5 Dec 2023 16:50:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbjLEVu1 (ORCPT ); Tue, 5 Dec 2023 16:50:27 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CDC7B9; Tue, 5 Dec 2023 13:50:33 -0800 (PST) X-IronPort-AV: E=McAfee;i="6600,9927,10915"; a="15516376" X-IronPort-AV: E=Sophos;i="6.04,253,1695711600"; d="scan'208";a="15516376" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 13:50:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10915"; a="914948187" X-IronPort-AV: E=Sophos;i="6.04,253,1695711600"; d="scan'208";a="914948187" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga001.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 13:50:31 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rAdJE-00000002BsX-2Tvf; Tue, 05 Dec 2023 23:50:28 +0200 Date: Tue, 5 Dec 2023 23:50:28 +0200 From: Andy Shevchenko To: tanzirh@google.com Cc: Kees Cook , linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, Nick DeSaulniers , Andrew Morton , llvm@lists.linux.dev Subject: Re: [PATCH] lib/string: shrink lib/string.i via IWYU Message-ID: References: <20231205-libstringheader-v1-1-7f9c573053a7@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231205-libstringheader-v1-1-7f9c573053a7@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 05 Dec 2023 13:50:37 -0800 (PST) On Tue, Dec 05, 2023 at 08:58:53PM +0000, tanzirh@google.com wrote: > This diff uses an open source tool include-what-you-use (IWYU) to modify > the include list changing indirect includes to direct includes. > IWYU is implemented using the IWYUScripts github repository which is a tool that is > currently undergoing development. These changes seek to improve build times. > > This change to lib/string.c resulted in a preprocessed size of > lib/string.i from 26371 lines to 5232 lines (-80%). > > If there are any problems with the output of the tool please raise an > issue on the github. > Link: https://github.com/ClangBuiltLinux/IWYUScripts > > Signed-off-by: Tanzir Hasan Blank lines are not allowed in tag block. Unless Link: is not supposed to be a tag (which looks quite strange in that case). -- With Best Regards, Andy Shevchenko