Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1524886lqm; Thu, 2 May 2024 19:24:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWx0qX/VqqLZ0LGe27CIvUpEMPm81IpvBmt2fXbt82KlGeYToSm7jKveIDLytSY0+X1zAEarXaCNVIyTeb3Jm7wugaOzZkFVid1xef74A== X-Google-Smtp-Source: AGHT+IGJAEiwa1Emz/6CwRNxg0yWmw6x0OWquC3u8Oar7vB1ejSmvt0FyNKB3/aiHkCjvllonyz2 X-Received: by 2002:a50:8753:0:b0:572:5630:d8d6 with SMTP id 19-20020a508753000000b005725630d8d6mr950488edv.22.1714703075037; Thu, 02 May 2024 19:24:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714703075; cv=pass; d=google.com; s=arc-20160816; b=NIUvPjVVZAjblVuvsoKFdaK+0ChxbjMhMEr66QsvIQpjVAd/roMzJ8K+U5WNoG+Lyy 1lb+tk8zmfm7XXjfBhh8VnzlSsux4kty01nd7iWX2DQ+/NiBgiEOgpquZNgXb4m75xDe E72uWNAXgBHkGgAA6JtGcsqvYAP6bWK6gKBzWhr/fSxApE3jrmz03Ulb6hnLHH1vwvFx 1Qe2V03Ktw3AXjG16V+55xoVidc4t/UzIvfB3uVtkXMcUa+XjYZYB9SZzZv3ZV96yL0M c/u7LoAYlEkcOVghz+MkYt/niF6zcjT96qb0EzljD2jm6h6QO7dt9qoXKpKbhU7OXbcA O/rQ== 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=bHXS7qrB3gFkTxbxknf5YZ8HGBZ3Vcp+86kvqH0nj5E=; fh=x8qs/r7JQCE1NMqm5Tnw5VjN1BlT82isy8Tj3Iy022s=; b=Trpm77RZl8BtVPW6xoW/+D4wAP1uChQkGUmZEW5KmLaIfGhuoxTPuqqdm3sIqnFi2k s6kwlq9O/gwQgnrQLqUTMEkWBAAplnPmKpOHwokx+z776h4jhwvUdg8tr+4lLGUFQByi JqUsDeNWYnRlfChaJjHMXQPS/HcjOJ9oCYuTlPfgxqJgvv70LZEChR1t8ZAHD2fJ1u7v DKED5gMZE8XcBePJFJB98gwuDFD6KI5z0bNZy4jmI9F87soylGE181leCtGAdyTfCc4+ fVo3PqjoRRked/cPqGUspsjZI3ZFovJ90woTv1XWNufFvDBN5gGvy6THb9PUr40jsBgW uRPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AzlJPqKN; 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-167182-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167182-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 b94-20020a509f67000000b00572040d55c4si999463edf.609.2024.05.02.19.24.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 19:24:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167182-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=AzlJPqKN; 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-167182-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167182-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 C06461F23A0C for ; Fri, 3 May 2024 02:24:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 023C6171C4; Fri, 3 May 2024 02:24:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="AzlJPqKN" Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) (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 E852A168C7 for ; Fri, 3 May 2024 02:24:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714703068; cv=none; b=QWPsyv2ZKLjZNeUCTFlhw+OajdnZ7jMTbr7SghydCSpYYDkLh34g7uktfCD9h9FFHlPodIubjuHqTcTvzAbbTKrbv+1C8RxgZ7cNO125m6EZ+5UpanBmq4MpPVW0sD/wHXK6+3i0m+oyxFtXL5H92u4GFKO5132/Y1S/ghr0wqg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714703068; c=relaxed/simple; bh=9GAp7pi9gBTKvVhQ4/inUy8g5V8kQO9u5zc4aiHeq2w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UqNtXWvW5hbntwlETCpcfa15Yw1KdMedh6uq7DPCz2zr63X7AQrILKMhI9tITmauJNUQ/Wm7hj7Uw9KPWRRTyKSzcLou/3XC6pD15p64YyIGrPoDE8lXu9UJksMgURmqQF0sEARsyxYasnWucgMa4OC/W1OqY9WsYGICJHyCC/w= 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=AzlJPqKN; arc=none smtp.client-ip=209.85.216.51 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-pj1-f51.google.com with SMTP id 98e67ed59e1d1-2b432d0252cso63493a91.2 for ; Thu, 02 May 2024 19:24:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714703066; x=1715307866; 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=bHXS7qrB3gFkTxbxknf5YZ8HGBZ3Vcp+86kvqH0nj5E=; b=AzlJPqKNEnQIgby0qC2YNRDR145A4q0Le9/Lt/c/w2UDGgG/a5pCj6Q9Fbq7Za6HhJ QyGUhWeC0EEoXaOd7H1WQkqTgGE61t/6kPRle7KGE+pS6RfzwGtTS3BSyHno2jXaxu2e l3DPnGGwR+SWW3zDZ4euhwsgpouvZHAIYj4XcwLd/RcobsYajeeEesUiBLcYF3os2r/0 HMU2eVwGPUo5Aifddix6GWFRNzAfmW15dkNdfFUhfeQCXp+gI9siRl1GkzscPO+nyL7o WsIuQnIgOeeqq7RjkXXg3rV1454PocZE6GQQBZN9GD9X/FTNOEgyZR6OhQE5cqa5IPKu roZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714703066; x=1715307866; 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=bHXS7qrB3gFkTxbxknf5YZ8HGBZ3Vcp+86kvqH0nj5E=; b=agUv/F3LqCaoJ5AJ/1yAuIWrebrUgrQFDL0qw3G3mmGqIQnlJNw6KmW0jvee/azh2C ovhTKMlJAtXZPoogIPkNuBauNex6JHjzlZUx1fMew/ZzN70xCCN5cN9RpIZYDJrTEiyU YBC5WY98GbA1+3TX1TZV3IzZwdEi02Y9gMq3fYkRDl/teMdzyx0a+DZvwyhD5JtLgQYx fxcYbMeTYAky4k9U0M4d4mV1WGhCsyT3zZxFZSPcI/zf+FtB7XrNrZbFOgT8d+1RGHwb LEkbrsFG9Q9UZlIdkoWR8jwU1tgm8TvLiaKEbJPe7Ch341YkRyrKoEvm5U0+ZXUxi/YS UfUA== X-Gm-Message-State: AOJu0YwexPq/XRvaURczcAfD8oPA4E+gD4lFjXc1vQwGNm5XUGl7JHT7 ZjpFOlCXhhuhDBz3amWP2kK57P4Vl5QEQ8mjlWH8ktxIH+3z5T30 X-Received: by 2002:a17:902:ecc7:b0:1e9:a06a:c3c3 with SMTP id a7-20020a170902ecc700b001e9a06ac3c3mr1606291plh.5.1714703066116; Thu, 02 May 2024 19:24:26 -0700 (PDT) Received: from visitorckw-System-Product-Name ([140.113.216.168]) by smtp.gmail.com with ESMTPSA id s1-20020a170902ea0100b001e49bce9d40sm2062735plg.128.2024.05.02.19.24.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 19:24:25 -0700 (PDT) Date: Fri, 3 May 2024 10:24:23 +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: On Thu, May 02, 2024 at 07:14:10PM -0700, Yury Norov wrote: > On Fri, May 03, 2024 at 10:00:07AM +0800, Kuan-Wei Chiu wrote: > > 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? > > What exactly you want to change? > It seems to me that the entire description is written specifically for the module. For instance, "doesn't run or load unless explicitly requested by name. for example: modprobe test_bitops." In my view, this description is no longer accurate. Regards, Kuan-Wei > > 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 > > >