Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp89446rdh; Mon, 18 Dec 2023 12:26:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IH8OrVfnTeqOccJFvZABqmGu/39bPNtQhQOoOZ2ZbbBwfcVafEGMqoKVVp5cuzLfAyZ6NAs X-Received: by 2002:a05:622a:1903:b0:425:4043:1da8 with SMTP id w3-20020a05622a190300b0042540431da8mr22996083qtc.123.1702931214809; Mon, 18 Dec 2023 12:26:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702931214; cv=none; d=google.com; s=arc-20160816; b=QUlpTSpQNJCWXDE7lnAM+YpTkBLkfXOWKxP2nZj4382VML/MvddyKv73mKlnqjWweF Fpv0DY6ah59uXXRQm/lZWMcUn68qPQZ0JoIIO224uhX7kJITvEyhIugKNhWTwC3QKNPP Jr/QpqwBH/0pvMpdzUNuoZtK1D+LstD/WpzUCi9qf3dsPl0A7AYefMylyl+BtVAlywbc /h9oe6nlSEz5FZYsAj3mgpVB7Z9XclDr7QUA+pIMOhw1ksim24E30eosPWuwriKOfK/i uOvwZWJq7dq//CbOabvefbSrVVY6wZ8iJcdwrQd+MuIQFLZE1RMFtWGElHijKEL06Gc2 pqUw== 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=Dz0utDGYfi/TpQTP+mKKj1SWwbV9rWcWuG/ei5HQkm4=; fh=Wn1T1Vim0ZC5m7h6fQLskoMAeW50Zy0zoYuON83EQs4=; b=tVKZtdpYicwvsDnqnPKcYlf+DeoSf6inBKXVE9f40vQXOPBjegb4YP27fDIB3yFGSG 9WgQiXNvJtUmdYjiiUvnlUKiiRu8nexTKTabrccXcKkLcKIAOO3FC2FfcWW7/5ec3gqo pL/YB/t7/JiFcB4Xpa24ooQXSCnVu0c5xRrHjod6q5iU9FJ8U0CbfuPWEnLcRLLnI+MO 6+PynwUHlx2J+oJwyUfIdZqHqEcKZnQ4DMO61mYgGkQ3QdOLW+IfUol+7lzleRsW//bW kjJiYrMe0RRNPAU9/XUBJcfiYHF6osxs43mowjipYxp3aWnwVEgsxFUfXRBWbxH4QGEx 9aYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jyqDQJ9K; spf=pass (google.com: domain of linux-kernel+bounces-4346-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4346-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b23-20020ac85417000000b0042553cbf0c5si22404800qtq.232.2023.12.18.12.26.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 12:26:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4346-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jyqDQJ9K; spf=pass (google.com: domain of linux-kernel+bounces-4346-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4346-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8C1081C21B76 for ; Mon, 18 Dec 2023 20:26:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 302097207C; Mon, 18 Dec 2023 20:26:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="jyqDQJ9K" 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 3B12748784; Mon, 18 Dec 2023 20:26:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A722C433C8; Mon, 18 Dec 2023 20:26:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1702931205; bh=WuoEVPVLN9oOBFfH8vfaebbZ9s3fmmcnT85DcEkwSQU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jyqDQJ9Km8w2/+M3lrtuEz0/KoOFqhtl6QdHT17dV/lV9B895W9NJZZ8wanEL37Fq wBqR91lJUUP6ygqUW5DABUS/z4CaBpioCsQzXjjWvKLG/ejArX34tBiQD2KX4+59v3 R9BarTNNazmdq18Fp76qaMTiDFkBy5KE+kXXfV+s= Date: Mon, 18 Dec 2023 21:26:42 +0100 From: Greg KH To: tanzirh@google.com Cc: Kees Cook , Andy Shevchenko , linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, Nick DeSaulniers , Andrew Morton , llvm@lists.linux.dev, Al Viro , Andy Shevchenko Subject: Re: [PATCH v3 1/2] kernel.h: removed REPEAT_BYTE from kernel.h Message-ID: <2023121813-slate-humped-024b@gregkh> References: <20231218-libstringheader-v3-0-500bd58f0f75@google.com> <20231218-libstringheader-v3-1-500bd58f0f75@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: <20231218-libstringheader-v3-1-500bd58f0f75@google.com> On Mon, Dec 18, 2023 at 06:44:47PM +0000, tanzirh@google.com wrote: > This patch creates wordpart.h and includes it in asm/word-at-a-time.h > for the all architectures. WORD_AT_A_TIME_CONSTANTS depends on kernel.h > because of REPEAT_BYTE. Moving this to another header and including it > where necessary allows us to not include the bloated kernel.h. Making > this implicit dependancy on REPEAT_BYTE explicit allows for later > improvements in the lib/string.c inclusion list. > > Suggested-by: Al Viro > Suggested-by: Andy Shevchenko > Signed-off-by: Tanzir Hasan Note, your email name is not set so this will not work properly when it is committed to the tree :( thanks, greg k-h