Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp103660rdb; Tue, 19 Dec 2023 10:31:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IHAk3A0GFB+N6q4dbxsKGc4x8K04THFxvKYt91AuCqMQaeE9QGkG8Nf8yamHYDILc8EY3hy X-Received: by 2002:a17:903:41d1:b0:1d3:b258:e03c with SMTP id u17-20020a17090341d100b001d3b258e03cmr1800025ple.21.1703010673614; Tue, 19 Dec 2023 10:31:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703010673; cv=none; d=google.com; s=arc-20160816; b=YbdgwEUjlsal9ov55pMqTM3Opk+JubDmdhNOg4+hynDLmpL0tJLZIh3Lq+0Gc2jlOo fKonyVrL1jE9nPHiUn3N1hXNBIWhHdYJCMEYfbIlPTMoo5xjeQwM8CJdZMTjQu6DQVOe MsVBQ67da5lioiJ2tA9VcBJPZsN0HbPhZNsse0IpydFHuKHTSglfpbpS2Aen7g1tmHTx bUHiiqEKVyX8r51/vwDv1/wLfo2MB9IXJvt+0/9PZCxQiJ1f9i43mbeDhJ3Wc4cXgiHi WDQbysTmN9D7fxDA5hMhFwkQVidt3TDiXDrsc8mEyacb0nS2SB1FXFp7CKKoFoz6gvsr R0NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rd5zhce1mX2ehvybLdy8tCQiKWMoGGSYDvcZkrlFPIU=; fh=gIl5gw+TB7ULw/6xikfxvKWHAWDXYn7TaE+jjWOEWNg=; b=YLHg5oTphMkLypXBdrLrilHfL+beUUY1Cahmsg0rAnOv1Lm+2TQOoxF4l/ZaZe3Tj3 91z4PIskvBE1d4S8ANoWY7PC2bYwOCTTYpx55Qsxiql0epa2FtrMXnurJFF909k0Cyic xdJW9X81BrGlMJ5pZ1MoMyeoOyYUORS+ZKyXIEVkcVsy1ghuicxfIUaOMiEmfKwVR/j5 M9jwNL3feDM+ARWe/m7NvpOb9FGckQJmZGGLHNpi+EQNkYiHPkaY1BC06dkhwpeMdsVz fW1e3jRFG7sYnXZzJ3lECZagCEmngtovY/Q0KYqxwz095SuZv2RNyASqXiDVpbLmOrWS nxpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=grLsKsOY; spf=pass (google.com: domain of linux-kernel+bounces-5808-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5808-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bw24-20020a056a00409800b006d30f25ddd4si6430214pfb.271.2023.12.19.10.31.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 10:31:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5808-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=grLsKsOY; spf=pass (google.com: domain of linux-kernel+bounces-5808-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5808-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5CDECB21AB8 for ; Tue, 19 Dec 2023 18:24:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 86EE437D2B; Tue, 19 Dec 2023 18:24:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="grLsKsOY" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0A9239AC4; Tue, 19 Dec 2023 18:24:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D66D1C433C7; Tue, 19 Dec 2023 18:24:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1703010267; bh=yc5uKat7NtissNxZpaWjGwzUpSciT3vGWCPKFGRf70M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=grLsKsOYe2YYeK7firvhqaoeiFCCwhVpkVLyqdshoeHbL7uSX3l5rVO28pKDBEZ+8 uhkPcqKCn1HNFlQdA+iPqfRVqfXI0Bf7GTlYMhhxj3s1b5fn07PsG1xId7iM9FJl3I LLkuhWcnZUtor8jjWo09Aj624PrKHd0rnPq6F0VQ= Date: Tue, 19 Dec 2023 19:24:24 +0100 From: Greg KH To: Tanzir Hasan Cc: Kees Cook , Nick DeSaulniers , Andy Shevchenko , linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , llvm@lists.linux.dev Subject: Re: [PATCH v4 2/2] lib/string: shrink lib/string.i via IWYU Message-ID: <2023121926-mummy-gondola-0a56@gregkh> References: <20231219-libstringheader-v4-0-aaeb26495d2f@google.com> <20231219-libstringheader-v4-2-aaeb26495d2f@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231219-libstringheader-v4-2-aaeb26495d2f@google.com> On Tue, Dec 19, 2023 at 06:09:52PM +0000, Tanzir Hasan 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 5321 lines (-80%) for the x86 > defconfig. Nit, use 72 columns like your editor is trying to force on you when you write a git commit. As is, these line-ends are all over the place. It's the stuff around the actual change that is hard to get right... thanks, greg k-h