Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1517606lqm; Thu, 2 May 2024 19:00:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXPKikAzabazJU4kjB9RTzUq7n/f3UjEKWZIpe/3cOmAlZd517Rr2kQEzkjsELJPOa1yIcVmuDxol161un9qwaNGprwgjM/IH/af2dfrw== X-Google-Smtp-Source: AGHT+IHMjBA57mVaq5ue8O8pXyb4ghNyaYLI6EvxwrpWswLDPUOQL63zRR6Li6QlbJFeYqFCxXIO X-Received: by 2002:a17:906:a005:b0:a55:554b:1f5d with SMTP id p5-20020a170906a00500b00a55554b1f5dmr589801ejy.41.1714701620791; Thu, 02 May 2024 19:00:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714701620; cv=pass; d=google.com; s=arc-20160816; b=Cvp4r/8ixRLEM+MCej4leDXVaG7yHyoYE4cuPGvGt4fCFkfvLNG4pzvwVG1WscW27R T64gcfkWUomSw/1GteXM0+y4XC9pgmTn1v7iBLn3e4mx7uag4wchxps15SeNUcfVwgME +Fg9gW//bZ3roZxcs4UkxRiXESBImtshy8e9Grqo663qnLJX/6fQaaYvIaGYQPPIvePm iutN+xOdpDxXgrZQUlTRYm6wdZj08CDvgOvy/9s5n4hXbF7HT7C6LMCoRhESeRRDG7oA FTlt0lN1bCOuY9jwnyjJpLGySDyphinarl8nAHAwc66rGSZ6GNS9jxwphSgTkE+VPjqa 3FQg== ARC-Message-Signature: i=2; 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=3NWBEjkxGi+L5lBZst5fB6INosDzoSqFnqJ5mwpVEOE=; fh=x8qs/r7JQCE1NMqm5Tnw5VjN1BlT82isy8Tj3Iy022s=; b=D4tzO+7KBTv25yJjqaJlRbAy4VbpBZAPaqdOfrfTga+qYXEMpx0Yr2Mfi3SnsOs0y2 hJv67/PhpV9GrFSZZURYyUv1oWRL76Ca9IKXnqidem/4geWLRloS7H+MJU+mG3hHF0Nu ENj7nE1/QIwgIIN8ZZOuZLLx1KDc7kc864FMZPn3JPkpoZL88vjA2RyoU6uBK8kDD0Gw zIVusM7RWG/8YSoRJNk1wSW23QJBj6QtNtv7t6/OjokH7Nq+EhnRRYTxT23tLDzUEWgo 60iJw6xry5lMD6j/JYbZnpAblHzUtRYnNNJ5JzZCmGw5kuC9UBhWmEca4LG/MuxLxqLw 8s3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=E9nWNXn5; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-167163-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167163-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id do14-20020a170906c10e00b00a58a3b858a1si418285ejc.172.2024.05.02.19.00.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 19:00:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167163-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=E9nWNXn5; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-167163-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167163-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 85E091F23786 for ; Fri, 3 May 2024 02:00:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 51E69134AC; Fri, 3 May 2024 02:00:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="E9nWNXn5" Received: from mail-oo1-f53.google.com (mail-oo1-f53.google.com [209.85.161.53]) (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 3759BBA2F for ; Fri, 3 May 2024 02:00:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714701613; cv=none; b=tU/bNshCXiexZLt1SlQM4TnyL0TAWPxiZ0aNLTG5o5Ox5qz/kcj+vg2VFysVyBnaSmhjCuR+rmiiEqO3gXjfBdViPur00gILN0A2bi9ipstxVe9MQZUwpAXmItN3jzb1cE/VKKg+eJF29SQIx1Y5uKcUhrbZHFukaI/kTpphlL8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714701613; c=relaxed/simple; bh=IgtySo/J8gV28TExFPrAsMeWYcGz6Ns9BbQF6xqsQ/s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cZW/kYoEmcQ18iOSCB07qTBUqagLdD/ttSMJRf+JP+pUh1juBERz2SVdW00l6exswwbGlHPTS3WAW14VYPymIpEees11UddsETDYkhwzNMFA4MShnkq6UdWFOlg6/7qXKkNk/8fDaTt3Pnr6VWfMgo1b/jGbbXzVZqxXFPLdWzo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=E9nWNXn5; arc=none smtp.client-ip=209.85.161.53 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-oo1-f53.google.com with SMTP id 006d021491bc7-5acdbfb7fe4so235334eaf.3 for ; Thu, 02 May 2024 19:00:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714701611; x=1715306411; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=3NWBEjkxGi+L5lBZst5fB6INosDzoSqFnqJ5mwpVEOE=; b=E9nWNXn50mEzzwOd4ZQL5097+hxGWkfeMAGYu7aVQ+ZpF38ZFtjJNWaaOTZYn/6N/m LH+iyzquC9NGVbPaLM2XOo3QXw8ukHslna0bv8RBUYTaBgwrjsoFYrARSltmBVTDCijQ Sb+3HLtkeXWrpeD2IGsIHFTFzXVzXVHj9kDVlsz8Y7yxkqx4paFuWPrxAell7bZTR/7C epQX+x4TjFu2OYgbvZC9A25eTkyKLxzIAJBQDgg2awk6/zOBZ/nUWLFPdMmCzsC4BpEq /UzfjKX9WpH4R7hRnWYI+mrbOeyL+nhrzBnVrB5eSrKHvwNz5Sdfh5uvUIRpTzAT/Ugo 3GUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714701611; x=1715306411; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3NWBEjkxGi+L5lBZst5fB6INosDzoSqFnqJ5mwpVEOE=; b=GeqK74XgJELXiDdZ//sWiaPEP5/qc1XJWecniZVFvBu/KitOADD4NY4tTKM2MAP0AH O8slj7rO8ml7lIi0zDF7rf+aG+i8xchLYZJZRcwXcE1nbIquqWc/7tDoL23rfcdL3Rp4 poqYzERDvMvx6secZS06xmIrYtsTsk/Khf5MECfhIZcVUU9DlEm9m5mWJOSXUD5FndPD u2eyiKko6jfoyuwB0h7qeaF3F1Jqj7cKrRaeFJwKA+CEugwchr5G42MEbjSzZG/EXwuH GhgsibQd/aDcCP60Vdn+sVGbZy63IiDlwAVbd2bnxkyoxfLuvPun0USePsWZKiXQcnBq za3w== X-Gm-Message-State: AOJu0Ywos3P7E7V7lboN+76JLLCDgN8zdwWIu9QrKgQUtKCeTfM3uBBW 2detyGLQDoMnGakcsTzPYKOy0lzPv3UMBH18CStPlJmfKoneNgda X-Received: by 2002:a05:6871:5d3:b0:235:3e97:ed24 with SMTP id v19-20020a05687105d300b002353e97ed24mr1868642oan.1.1714701611216; Thu, 02 May 2024 19:00:11 -0700 (PDT) Received: from visitorckw-System-Product-Name ([140.113.216.168]) by smtp.gmail.com with ESMTPSA id n26-20020a63591a000000b005cf450e91d2sm1969878pgb.52.2024.05.02.19.00.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 19:00:10 -0700 (PDT) Date: Fri, 3 May 2024 10:00:07 +0800 From: Kuan-Wei Chiu To: Yury Norov Cc: linux-kernel@vger.kernel.org, Rasmus Villemoes , Andrew Morton Subject: Re: [PATCH 1/4] lib: make test_bitops compilable into the kernel image Message-ID: References: <20240502233204.2255158-1-yury.norov@gmail.com> <20240502233204.2255158-2-yury.norov@gmail.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: <20240502233204.2255158-2-yury.norov@gmail.com> On Thu, May 02, 2024 at 04:32:01PM -0700, Yury Norov wrote: > The test is limited to be compiled as a module. There's no technical > reason for it. Now that the test bears performance benchmark, it would > be reasonable to allow running it at kernel load time, before userspace > starts, to reduce possible jitter. > > Signed-off-by: Yury Norov > --- > lib/Kconfig.debug | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index c63a5fbf1f1c..fc8fe1ea5b49 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -2436,7 +2436,6 @@ config TEST_LKM > > config TEST_BITOPS > tristate "Test module for compilation of bitops operations" > - depends on m Perhaps it would be better to modify the description in the following help section at the same time? Reviewed-by: Kuan-Wei Chiu > help > This builds the "test_bitops" module that is much like the > TEST_LKM module except that it does a basic exercise of the > -- > 2.40.1 >