Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2649033rbb; Wed, 28 Feb 2024 08:16:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXDwZ99C3FNiy0y5qZuK4xq5VO1ZfQga/JSXzmaWSZs8cn7vHDaivRdcDj+n1EZM6dyeaxp6kL9PKxiC8SETQjS0vjTBjoiFn0Loh6rtA== X-Google-Smtp-Source: AGHT+IH9KZqQpfg457SNhz/I7BTQRRH5AyIVmhbHVWffoQWIT1zJCaRstZjFXP9GZgHPMwZCf+iH X-Received: by 2002:a05:6402:134e:b0:566:2f65:8089 with SMTP id y14-20020a056402134e00b005662f658089mr4061252edw.35.1709136971729; Wed, 28 Feb 2024 08:16:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709136971; cv=pass; d=google.com; s=arc-20160816; b=et5aolTC4wDrGJtHRia9Du57yv9kcoKpr5jDy45RZHCzEw+MxtUo7S65PSByCRFvaE CpITW5YSXd9dwdwgNBjEhVZbVItisgGJrUSIeqTOI8EV6C+skrVogz6rzb4SDEcc8mxA U09uj9PjLnHTS8lEICMyJGyV2fV3PBynS1g/tfrXqDBTUY9TKq0T+5ERhWg8YLwuI8w2 lLnWioDnc8qwx1ky2we05OUbWVj3pdDZogHmqJwOaQBp/l2oqO9VXiHiwkZMjpdBT/Hc nelGiW5cKKmarobwyA77bY/nA1rLPHNcNCPIyMIjwZIsfOZNPBFHuMf8R44OX5FfzQa6 jfUA== 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=45YCxhrvUCz1KlVt7J4vAlQKroPfuxlv6s5YsGgz7tQ=; fh=gLZ/HYP3E/el0+KFzldDJ8ADzTzbnqTOhTLpecxtpys=; b=1Jv0cVYCyAyNOmnZePOkfWdAGFj1LeB+YN4pSyRNE+MsPa7ctvvu/e7w8oXnBKFUQR GUBt3SU7g5rWybczUpSsE9L9pTr4sfmLre+AyNitqEO6EBYgPOpbAFKFbm2kG2q+0znt Td/viebybAmhiEIv1TTwgs2TqGhiEBWAe0qPd4aEajWUD5UTG27+7jXz9u9AwtOXx+eq ZvEOtaA3AP4iCX5Eca+SjmKzMH1dmwArEfRxA50Tbhtiv8TaVmTLpivbV8GvqNgliSod MRCmbhvN/y0mCMarZ8nSMCAyXNpNE2NfKW7vpFhzfyy5+ed7th9fXY27/0LUEcRNWBIl 9sSA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HTzp+Jyr; 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-85343-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85343-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. [147.75.80.249]) by mx.google.com with ESMTPS id y20-20020a056402135400b005643f5aa720si1845980edw.392.2024.02.28.08.16.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 08:16:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85343-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HTzp+Jyr; 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-85343-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85343-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 7A3E61F22605 for ; Wed, 28 Feb 2024 16:16:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CF08715E5D2; Wed, 28 Feb 2024 16:14:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HTzp+Jyr" Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com [209.85.128.173]) (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 9AC4E15E5A1; Wed, 28 Feb 2024 16:14:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709136844; cv=none; b=EU+yE2IWuOUK2mKLNV/hQHey6eOjSrvE6QyD/OJ72jRs3sU1an3Ojn2/jpQpxAgimi6YX2xOLCb0LGD7lS1R4Typv3tVfG99Gb2bG7UO/MZQP1HM+vnE349RjyYHFnwavqnAFGxSSAD8Ogm4Q4SH2SOH8ijTe++FL1WhJOlMFks= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709136844; c=relaxed/simple; bh=vBML+da3ru4k4fY41n9a1rUchj8BCGb3zQ7x/xQtZ0Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kAiFd2aIiIx1gy5xr4ycOWDOUoGVLMZKLFf2aC3m+5Fla5JIYNPPQic/0IlSZAJj3ylsUbBsh5XNzKjqN0apq4uCzpc2wvwCyxbwni3IBVgnc1RbgSyGmjzgGSIBcVCZ1hR2LTcgYoUcIHITgbWuS10hVL/5MinZR7QBH5BEe9Q= 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=HTzp+Jyr; arc=none smtp.client-ip=209.85.128.173 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-yw1-f173.google.com with SMTP id 00721157ae682-60908e5fb9eso36549777b3.2; Wed, 28 Feb 2024 08:14:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709136840; x=1709741640; 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=45YCxhrvUCz1KlVt7J4vAlQKroPfuxlv6s5YsGgz7tQ=; b=HTzp+Jyrv473OuIH9pU7Gx+/7SFLLjOLbrjmqXxctyy+I7ITxYrSegxiKDG7iVDbIE ytjHXuj3YktcVMHGSnU0m2bQzyFZAA/7Pg+UMBOtTm4erCoO62O2V3iDuX1WN1LZX0on 9BU2lk6SZ3tLpQ95YY4SmEfQ1j7T0ltrcQIZEW6sSlU0SfSCxlwdLaAAXqkl1D9FYwng vzCCGHXdncKGOT/OmNk1gheuBPekrZoPfRRGlZcmU1Yd/thrgd6r4ftTKsFNSKB5B14V nyzk1/LtaDFW8GdfKWMlI/m/vEDzK/WuvgK/XizSbJKPpJlkFT5olF56H56hjHwquIRt lV5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709136840; x=1709741640; 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=45YCxhrvUCz1KlVt7J4vAlQKroPfuxlv6s5YsGgz7tQ=; b=s3tPY4t/n+jBFXPqdwdTP5AOZ1+Ba0ZkLMogw2RKwiAgnXIlkpHbnpIlnlQEGk9wdF PH6ZqnOVYdcKcX5CmJB0VOMWx8mhDZW/SiHVa+3Iam49/OQS75HJmh71BMLy4uZRAkFR vTtGV6HchZmcwhIIM0HPOhee/PksgE6MZHQFOIm2KLGHNcEc6lOLWYEwjtEwAwiEeR76 EBtwlyWNVvk9Kuz3RRghAaIY6uUEzs6mg+LR2ZJtpC32LOR4B6vuChFSWAfWgB+hRO14 erBScPtI6uMLq0PfIA6LSk+YXAsdLcqBFMUsoQSm4Dif6xNHLRXQuSvVi4BDDqzAiWG7 /2Wg== X-Forwarded-Encrypted: i=1; AJvYcCVWtc6kQJXE1rfu+HmUA4GzIcbr/vU9uFNwdD0574bmEyP3fCSEM0a2jt4G4czJRrrbLZVu9HC9wjOokKYMqHG7zlL23RDBLz/ol3xSQ6P4H69jVwTV5LBKP3VBHGJo0eBJGh2k1dCnY6M9JBOICjvsEF4/H4kxiEAbHKBYMiRGGiHbG5A8gkOtMyFzpxeHPaKvi//G5uJcDlZdpFip X-Gm-Message-State: AOJu0Yzb14e9KOzgZ2KuG4PXNC9JrzOW+GOj67TqhB3HlYWv26gEynJo L9SXTRB7xssP/Y7B9cWKFURoRjKkBSVpijXXOglswFYmclee3q4x X-Received: by 2002:a81:f903:0:b0:608:e694:ffcd with SMTP id x3-20020a81f903000000b00608e694ffcdmr4873054ywm.43.1709136840492; Wed, 28 Feb 2024 08:14:00 -0800 (PST) Received: from localhost ([2601:344:8301:57f0:2256:57ae:919c:373f]) by smtp.gmail.com with ESMTPSA id w65-20020a817b44000000b00604198c3cafsm2438101ywc.61.2024.02.28.08.13.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 08:14:00 -0800 (PST) Date: Wed, 28 Feb 2024 08:13:59 -0800 From: Yury Norov To: Alexander Lobakin Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Michal Swiatkowski , Marcin Szycik , Wojciech Drewek , Andy Shevchenko , Rasmus Villemoes , Alexander Potapenko , Jiri Pirko , Ido Schimmel , Przemek Kitszel , Simon Horman , linux-btrfs@vger.kernel.org, dm-devel@redhat.com, ntfs3@lists.linux.dev, linux-s390@vger.kernel.org, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Shevchenko Subject: Re: [PATCH net-next v5 02/21] lib/test_bitmap: add tests for bitmap_{read,write}() Message-ID: References: <20240201122216.2634007-1-aleksander.lobakin@intel.com> <20240201122216.2634007-3-aleksander.lobakin@intel.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: <20240201122216.2634007-3-aleksander.lobakin@intel.com> On Thu, Feb 01, 2024 at 01:21:57PM +0100, Alexander Lobakin wrote: > From: Alexander Potapenko > > Add basic tests ensuring that values can be added at arbitrary positions > of the bitmap, including those spanning into the adjacent unsigned > longs. > > Two new performance tests, test_bitmap_read_perf() and > test_bitmap_write_perf(), can be used to assess future performance > improvements of bitmap_read() and bitmap_write(): > > [ 0.431119][ T1] test_bitmap: Time spent in test_bitmap_read_perf: 615253 > [ 0.433197][ T1] test_bitmap: Time spent in test_bitmap_write_perf: 916313 > > (numbers from a Intel(R) Xeon(R) Gold 6154 CPU @ 3.00GHz machine running > QEMU). > > Signed-off-by: Alexander Potapenko > Reviewed-by: Andy Shevchenko > Acked-by: Yury Norov > Signed-off-by: Alexander Lobakin Signed-off-by: Yury Norov