Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2964907rdb; Tue, 26 Dec 2023 10:47:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHTBikxRNOti+OHiLzTJSMCkjwPUugRsXgPIgnb94jBHWpD4i4Q2rn2C14Xs0YT3ocGgQWn X-Received: by 2002:a05:6e02:1ba5:b0:35f:f139:e121 with SMTP id n5-20020a056e021ba500b0035ff139e121mr7771665ili.38.1703616449612; Tue, 26 Dec 2023 10:47:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703616449; cv=none; d=google.com; s=arc-20160816; b=U0enoQS+ko/d0JldzgDYDNVo0NOo+TLgfaT0OAtScM3I6tOJETJMCF0wzvn6CBwFta rJNtwGXMS2rnKmrW+sDTcXmCn96b+dWUVn8O5TAEjzBaLs0zpeMY2ZsLYKExHZ9Gdd+b SinII6ZwufBlvzR3srwfvyXUl4HaT74H9bX8xRdrKoeaYBE7c/V36rmxHkVp3N8UGSXM vOrW8p3UaQxfwjxFucUHNmkxpE+SOSSH2WUU8LVNjt2lkPwusAWvSGVrRhWymh8Tod9t SuJhQdiOr4Tu43MUDur8emJzfmOqXRQrP6SujlubHCXvYRSxUK3h7gSlo7i+Ais6+9Rp 7K8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=FiJwBW/7K1qBcXH+9J8bQ7mf/uov1uwXgkCpJ4/LnIE=; fh=KAbUtJhmmOLhi/B+nNP0KacV8+FDHMRfLbvcChRteYE=; b=NpE3eGzzrwF+j6ErO3EBCwr1vLBU6e7X8lqLsac+biAWJUuFserpJsTwWPsemHEDS9 jNi/gqER1eefSZT1i/8ucXFiKIQiLYN5lklo7/6cN/f5JmGEpEDjda9aHsD8/T9Enp1v e2c+yn1jwjLnXkH9fDjrdZulluNIeCZ9xzxOJQcvPvGvCqq4Wjx5fKpuryagykz87Rjs 4DTgzmfJdK7OMUOxf/sXdZabw5wy2BebWtvmFx3EmmidfX0y6xgeb34sWkWRgx4Ta2q+ xM2k81Fz1HssIQ8aZpXzFetl7K9fawe5KYp7SRbFQB7CYV//Tn3Y+H1yiGa5cjiB3Z+O xR/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=bFE04khS; spf=pass (google.com: domain of linux-kernel+bounces-11621-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11621-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e7-20020a63d947000000b005cd78db1f5asi9544147pgj.116.2023.12.26.10.47.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 10:47:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11621-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=bFE04khS; spf=pass (google.com: domain of linux-kernel+bounces-11621-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11621-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id BE5F9282987 for ; Tue, 26 Dec 2023 18:47:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3EB2E15B3; Tue, 26 Dec 2023 18:47:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="bFE04khS" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-qt1-f181.google.com (mail-qt1-f181.google.com [209.85.160.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E2A81104 for ; Tue, 26 Dec 2023 18:47:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-qt1-f181.google.com with SMTP id d75a77b69052e-427b515c2bbso788631cf.0 for ; Tue, 26 Dec 2023 10:47:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1703616440; x=1704221240; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FiJwBW/7K1qBcXH+9J8bQ7mf/uov1uwXgkCpJ4/LnIE=; b=bFE04khSXwR1SSMM0Qk0csE4053YaCFK5VCruP2J5XN5XMjk4ZKZTMUt91v13q3wE+ PuJeNCBQR3BCQtR9h8kNtwsPA8zyu89/96B9Fcb99A5la+8uH6wDQH/p+wKY2W+s9kL8 BsGCVNn06aMr6GAWXGDp3QVfu1bOg/ec3oRH0TVJpYSvvnFX9234qbMcRleSx6JfAma+ 9IJEkfwdkPCCVc9ubQkiGLmgcqtzGet1qmcm8O2gzf5BGztb+9gIJDc6OXQgUNjfpfr3 eE1X8ZkUiEAbVWeJwQwFSAWpV4taIfLPhGhlfnK99iiGS2cegpAZ3plDqWmj9ZK2qGWk /7Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703616440; x=1704221240; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FiJwBW/7K1qBcXH+9J8bQ7mf/uov1uwXgkCpJ4/LnIE=; b=kfBCzqTWWtPkmLcYHYlBZGN3+uJzudmM+EoTdkycf3FuI9pQ7qA8Q+naUHxj8A5Nr4 j/3MVBBi5Jh8FkqBIL5RXwmVRqln1kzQXwL4da7zyzetZi3wiLVqTJSJlTOCYqdOScYc G7E+WLtuBTusoeNN3cq8gcTRxWfjdLcVmG6aWjZiBsgIYRme8p6AZTgiVpNS+JFH9Qur 8/PB0UkjShJnIKCzLppgBYw47s0kmYqu0R30EZoInAbw9UHXfghrhln6IFLEuMmQvLhy KaUvIySbj+OjWFk0BSD9YV2kAMNUcYNrgv1/67VKOfGGuAXaEqmjeEzkB98UT6nmLHS2 8M2Q== X-Gm-Message-State: AOJu0YzYRjA+LuxuJT2jrxZwZYArbTjvXUTovtvXbTqGt76qwl5qtylh 2EwCIORf+gJTCANtk+PbYJZrgPavz+11vq8Vtr2xssHvoD1N X-Received: by 2002:a05:622a:1b8d:b0:425:758d:7279 with SMTP id bp13-20020a05622a1b8d00b00425758d7279mr624418qtb.0.1703616440295; Tue, 26 Dec 2023 10:47:20 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231226-libstringheader-v6-0-80aa08c7652c@google.com> <20231226-libstringheader-v6-2-80aa08c7652c@google.com> In-Reply-To: From: Tanzir Hasan Date: Tue, 26 Dec 2023 10:47:08 -0800 Message-ID: Subject: Re: [PATCH v6 2/2] lib/string: shrink lib/string.i via IWYU To: Andy Shevchenko Cc: Kees Cook , Nick Desaulniers , Andy Shevchenko , linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , Greg KH , llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Dec 26, 2023 at 10:35=E2=80=AFAM Andy Shevchenko wrote: > > On Tue, Dec 26, 2023 at 8:00=E2=80=AFPM Tanzir Hasan = wrote: > > > > This diff uses an open source tool include-what-you-use (IWYU) to modif= y > > the include list, changing indirect includes to direct includes. IWYU i= s > > implemented using the IWYUScripts github repository which is a tool tha= t > > is currently undergoing development. These changes seek to improve buil= d > > times. > > > > This change to lib/string.c resulted in a preprocessed size of > > lib/string.i from 26371 lines to 5321 lines (-80%) for the x86 > > defconfig. > > Why did you ignore my tag? I'm sorry. I forgot you had already reviewed this one. In a future revision I will include this: Reviewed-by: Andy Shevchenko Best, Tanzir