Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp199749rdb; Tue, 19 Dec 2023 13:52:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IH04mpicos2aUYLsVa80n/gfs4fHYe8VBf7N8rxiGqESyJpFRONe1syeoswOaDIh/O9OUh5 X-Received: by 2002:ac8:59d3:0:b0:423:b758:da6c with SMTP id f19-20020ac859d3000000b00423b758da6cmr19691608qtf.9.1703022752531; Tue, 19 Dec 2023 13:52:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703022752; cv=none; d=google.com; s=arc-20160816; b=HleX7Bxbkn36x3jhlRwEO1BApu8K4w3ZfzSGYmvL+lyL7BqCgdt7GOINwsCnLRoIB9 lrRlk65y6jcMiK0VRQHr04iWDczlOBdHwawoWkLQ1HPhfOJeEkCAXhPb4XwkVvkmmh1N mTOKNHfLF5fViGzNS3Sdqg0V4aSjsr8wYtk4o66L33kur0WAg/RVyK/+MMzNU/FwoLGI FYvryiq4XB2hKbmRKAwPsHSZyT6dmNpzvjl7CLryU2jPXkph4EsuiipRpur0o1GhzKFY FL1UNABJvJu47JJDXQ8cG/RXSLi81pkCL57BR3PQmntN+djnxWvoxMSwYZTmya8As+Yp Dz1A== 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=h/HELoxRBihubnQTIbfT46yyuCF92jjoc5j2WnCAxMg=; fh=77K/KIB9zPEh209IyaGF275DBH4LLewRrEeU2wufeJY=; b=Kiff2splCLn+TSjdzcJnigiM/p3Saq1y4Mtag2ASDlbcc2CrHYWkIFT0jSJ5LwxhTu QEblVrDfQR2meZuXx7lWyy9V50cK7+CXTl3cyHlaxxP/lfTh+LtSTrdNC5/XrUIJWhQg laTSK86qvUPi6okGz1pAObA4INh3FHDD09/EC/Jne0syFSB2HHzX7GtcJ9NTWfS5JolL 6I0NXVxvdeonO8ONlAbjtY9rGeAMN8I5LOHQ5/tFiJUgwbX2AHBTW2uDk6psB0q+TqkL iPGZ/D7tvUMfhcUaElhW0+DNcCdIHDG+OosU1mqj0hymRx+drRoAFOiYCN3STef2PkbE xnjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fv8d9YE4; spf=pass (google.com: domain of linux-kernel+bounces-5990-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5990-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s11-20020ac8758b000000b00425892e557esi23723254qtq.243.2023.12.19.13.52.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 13:52:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5990-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fv8d9YE4; spf=pass (google.com: domain of linux-kernel+bounces-5990-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5990-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3A1D71C247F5 for ; Tue, 19 Dec 2023 21:52:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA0E33B795; Tue, 19 Dec 2023 21:52:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fv8d9YE4" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) (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 BC1063D0B0; Tue, 19 Dec 2023 21:52:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oi1-f176.google.com with SMTP id 5614622812f47-3ba4850f65dso2809271b6e.2; Tue, 19 Dec 2023 13:52:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703022740; x=1703627540; 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=h/HELoxRBihubnQTIbfT46yyuCF92jjoc5j2WnCAxMg=; b=fv8d9YE4jjzwa9pobauF+LktaPrWbOyWqFtWHYxi0I4noweJfbMFeiC3i7Wo/eEWkZ najZ+n42kfZxF2QviCmiH0G4kgeniEIGpEkHU98vAwoa4CZx60LLd01tjN4AFcpO3Qyn T+KpSc6RwBFZJmRoboLhVgOHBpDUZhCXEf/sOIZON28KvYq7GGnirpjR53mY54frmEDD C+SlycOrdDGxJoHZHDTu+7VQ0rNA+8+W46apOE+pktdAjL6sn3Pc1ssKyTc/ijD1ihBj 9BAWdgdh69KBhfyAEAqKkBcHhDatH0Q5tBl2HBopryvV7O8+5L/ssueVi5ZAfJbj1xKY l7mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703022740; x=1703627540; 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=h/HELoxRBihubnQTIbfT46yyuCF92jjoc5j2WnCAxMg=; b=UwPHggbZw3heVYuoJnxGd6oenTdF3UEd47AypBFARlApYKgq4opBovxqc/lbFO+RQq T0KykHMwkqTqklOyGCG7mp4DasLBSlYjrRM5MTVo3PCyxvixshLiuPC32GMy32L0o1o/ 2SqgW3TzZ9us0G6l57B/nbwsKlgNkHlyAL1k4jJH/yhYbpP89W0+WOqLdRfWdP67HNoZ QaLEMisNT9GAcKjcdzqvi81gH25Jp27meLqnqzi+ooJAO4spTOwjtlQLOyN5D8Thfn3C ZSpP42z5dG0fX5IMgGf6iF8E3cZ6BNlLGGrlI+Qe8G/zQP1DCqY/VnUsVfxfeJelRHkO HWQg== X-Gm-Message-State: AOJu0YwVeTyxs785u5dY+5AKVVdvdJdDgvHgON/fZ8GUeGh5I2oYgQki CAvQSRu3DK1K493x/qYRJu9i3M0QaXA5oiKMiiU= X-Received: by 2002:a05:6808:10d4:b0:3bb:67fb:a451 with SMTP id s20-20020a05680810d400b003bb67fba451mr1114878ois.114.1703022739808; Tue, 19 Dec 2023 13:52:19 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231219-libstringheader-v5-0-206d4afd309a@google.com> <20231219-libstringheader-v5-1-206d4afd309a@google.com> In-Reply-To: <20231219-libstringheader-v5-1-206d4afd309a@google.com> From: Andy Shevchenko Date: Tue, 19 Dec 2023 23:51:43 +0200 Message-ID: Subject: Re: [PATCH v5 1/2] kernel.h: removed REPEAT_BYTE from kernel.h To: Tanzir Hasan 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, Al Viro Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Dec 19, 2023 at 8:48=E2=80=AFPM Tanzir Hasan w= rote: > > 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 dependency on REPEAT_BYTE explicit allows for later > improvements in the lib/string.c inclusion list. Same comments as per v4 apply here. According to the Submitting Patches the best time between versions is ~1w. I understand your desire to close this quicker, but the result is actually the opposite. Take your time and check carefully what others commented and recommended. With this series it's fine to send a couple of times per (working) week. It sounds to me balanced between the complexity of the change and the people's willingness (having time?) to review. Otherwise it's a good start! --=20 With Best Regards, Andy Shevchenko