Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp176514lqo; Wed, 27 Mar 2024 09:53:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX3Wus+fnWeZS06juX/MUhxOvjO4kFQNKjrSwzuri1s10qsDAjXuiOkiT979yjQvEQZg7oIIfk+a/OPYjU/Vu14h6Zb6UhtmHODQWrUhw== X-Google-Smtp-Source: AGHT+IHtl1svuDv67ukL5zir9TuLaxp2bx1vyNYlapmOjcLFoMudzonc8Typrz0ijQppzvLM41sT X-Received: by 2002:a05:6a20:43a1:b0:1a3:c113:f441 with SMTP id i33-20020a056a2043a100b001a3c113f441mr630655pzl.15.1711558402822; Wed, 27 Mar 2024 09:53:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711558402; cv=pass; d=google.com; s=arc-20160816; b=fMuks5H68cjU1YsHJW4say/l9TNzCLQPcM4xEi9Gm7sI8umClzrJ87rWbh97IHaW0S ie70T3vGuFtHzRr6zBh5gvteQK7gweS6XH865RBOAqv661TUc0xgVOiTqbbK4d2S/qeF BwLyKRVQ6kafa86FmUamCYcekFSvkzBwWYfzZVVomclRxocOwchMfv1O6X183RCIO2H5 ehjBwJ+u9Z2DRQnkNp5gnkGdphLXYA7PSQzghjgPUk5giXHMXmE48U8S0wkJsaakchgG OiXbBaA2ylV2wGn2vFGY1ddqo+UVRB16J2OPbKm6fwAyggRXWjV8zdAgAB5pYakaokP0 8Rww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization: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=9udJdCfAu+GsjTwIk+YM9kSiTohEuVVkPwuhH7r748M=; fh=xY15gPmwHgMGYI7wI17+2sOsFrO/al9E/WXD2XJLxqQ=; b=cwhL6Rf/G6RHzYSaZTbBf0pz77irVk6Ov9uKMvQkM8UMrieVA3XMenAXm5VUP9oyTM y6prrL+MeOiVXh0/Yr/OXN2wU68L4BjENyxAPXjzfFBtMTE7L6YOwqqFduJ0nVIUuHq3 xny/hNF1CyV2bf4rNV2sFJUbVQjgUsLV2JXwkBirb87/m1kMPvYFkF/S9haXE/kfBaTP jkzv/TMDNDSsm+vXivYEeUIQtV96UlqapbEY06ksDCvocdW+DgJupkceMUPmVV6nB57z il+uedfUyzQAxDncfR0ei2ZgS3v+p6Op9hm2/i02vqrp7/KA0obTIKVNj+INeFpzWArH pmtA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="kkSyUHW/"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-121572-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121572-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i12-20020a63540c000000b005dc82a6d761si11891426pgb.123.2024.03.27.09.53.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 09:53:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121572-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="kkSyUHW/"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-121572-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121572-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C1C7829627B for ; Wed, 27 Mar 2024 15:50:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 78FAF12F38B; Wed, 27 Mar 2024 15:48:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="kkSyUHW/" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 A620B59B71; Wed, 27 Mar 2024 15:48:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711554527; cv=none; b=m4h8/Ywyo2k0VfYWlVtPdK8rfeP+uQYFOXrSh7McVxECtgwpPBW1UBlcKCSU/yS+F5kUg69/c2OobLOr3gFszLywierVQOx+BUu9rENO4WXN9cPnDC2ifiIQAK+aVbqLpdeywAal5/oV+9YW61FZaedZpkH2/k5J19zIImZzYKU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711554527; c=relaxed/simple; bh=/Fy+XebLi84xhsuIn0Baks2bdrJHrKjSXbeknmduzQQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=j1yre8lcxQ1uqC980iO9uUckDi1ZkUavBm4WLgcM4zHSgXEhDttd0B+KvGeyjhrEwkznWf3UGyQrS2RtZu+Zc8trdyIp60RCjs0j8oRAN60qnHHSeIN6/1DBWJz2RPvPAnxYuMOsiK8atrVoVqHf7yOKvZ7n5/i/D665bzeMef4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=kkSyUHW/; arc=none smtp.client-ip=198.175.65.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711554526; x=1743090526; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=/Fy+XebLi84xhsuIn0Baks2bdrJHrKjSXbeknmduzQQ=; b=kkSyUHW/2PYK1GRO1HK04wjlFtJoeWO6hQScOxYolLGEAsxqsuURWqVh TAjj80i9Nnq/z1qdR8Y42vtSL7nhyJFaWuRO4zxps2JM612FrdnT7HO3O kHC3G/bxygHwUmGVHwllr6VBgP1aUPFc303MfQ73Ah9DDj8BlNN64wPwb UyUvowuF6nua91zFW8vLFQr0d5Lm05WJTVXT4LUbGRWN/g5yNxTkri1Eq kB82A2Sx5CFPaFcYftIvyRcEDcLC5XAk10+9nlRAAWm3Tl1yMzz16si3o 4WKMtqVx2K3jDP5Sz4xHVF8R7LbFN+kIHaudo1pUlr12/FGZkorDgI60E Q==; X-CSE-ConnectionGUID: 1l8k0xYFS+mLAK9NhKsaxA== X-CSE-MsgGUID: whvq8QYyTk+YYMitxoeVmg== X-IronPort-AV: E=McAfee;i="6600,9927,11026"; a="24119406" X-IronPort-AV: E=Sophos;i="6.07,159,1708416000"; d="scan'208";a="24119406" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2024 08:48:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11026"; a="914916637" X-IronPort-AV: E=Sophos;i="6.07,159,1708416000"; d="scan'208";a="914916637" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.54]) by fmsmga002.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2024 08:48:35 -0700 Received: from andy by smile with local (Exim 4.97) (envelope-from ) id 1rpVVe-0000000Gjzz-2WQr; Wed, 27 Mar 2024 17:48:14 +0200 Date: Wed, 27 Mar 2024 17:47:56 +0200 From: Andy Shevchenko To: Alexander Lobakin Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Yury Norov , Alexander Potapenko , nex.sw.ncis.osdt.itp.upstreaming@intel.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v6 02/21] lib/test_bitmap: add tests for bitmap_{read,write}() Message-ID: References: <20240327152358.2368467-1-aleksander.lobakin@intel.com> <20240327152358.2368467-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: <20240327152358.2368467-3-aleksander.lobakin@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Wed, Mar 27, 2024 at 04:23:39PM +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: Yury Norov This is a bit strange. Can you explain the SoB chain in this patch and similar which have Yury's SoB? > Signed-off-by: Alexander Lobakin -- With Best Regards, Andy Shevchenko