Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2400543rda; Wed, 25 Oct 2023 01:18:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF46/10dUIL6teYxoGFJfx2nawmFl5UeK3DvOfo5KGVw1TKjK0gmdFCSxv+GUBbChfUcfG/ X-Received: by 2002:a25:fc1e:0:b0:d9a:52dc:15d6 with SMTP id v30-20020a25fc1e000000b00d9a52dc15d6mr18784378ybd.2.1698221896479; Wed, 25 Oct 2023 01:18:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698221896; cv=none; d=google.com; s=arc-20160816; b=Zzy1QP8HxgGoxGP4VseozFz11W7Z9M00XS9Pmbt71CFc+//zPh9wshZBLAZEEyd8Mo MVy1wNB05y4Sn8mLqCH0Oe1PhadiDkGVleO7/a1zny/sfABmUmFJVLmp3Z3rbuz98Qtq fbhrXtfUwzv0t43S7TgAcoYWCeBqJ8e7tXHyfQGIVjFlyjVr6hn3ftROVtb9NQfQMKJU d6HjtR3m4YHlD67VxM1INezA0Hga35wvb5COVyrNzKCOfnVNLG8MHTGei8icXOdY+Kuk +SsBauIxXeV+SrL1Zr/KU0PnzN+GyoHK/xBkqrkc1Cml8SJYbrDz8MFGa93u5iPzBdVi 7Ywg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=xF6RmXe0iwrBVlFJKvkrtWsUWK5y+quiCOALv0ygLjY=; fh=eqb6ShODxFZ5yektHukPuOI8d0lspyPExNx4VPvQxgA=; b=s1e8/4AGgPxLP+rS+TVhctVsjRKhm3dkAdCnzJYMJvpJHAtHGoypxHZtvIakoM86Gs 7jeEof7ZFkcEwy8rBWfUnSXKN46wGacaqRSbmpiaRV9gwy9gkKfbF41ImCvnp0LNDFJE CISngqZbskZ0Mv8jUKaITnyZ+tAo1td762gAKMPlmhwUza/Q4TMbF38KGmu1s514qkp4 LmHTNdrL5pdgrIbMXLA6A1lAIBFOBONf5YmFBmhmGtXhLZCq4QnnY2zCQbIe2HApYQec f1+7xd78kYkIJG2CbOdcAmip4LJnWEk9okuILBoqC2Cm+1SSpzojifNwT7R4xl8d3Ann n6fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=cHMoCLoy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id n2-20020a25da02000000b00da053ace51esi3036883ybf.233.2023.10.25.01.18.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 01:18:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=cHMoCLoy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 25CEF80B7AF8; Wed, 25 Oct 2023 01:18:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233687AbjJYISI (ORCPT + 99 others); Wed, 25 Oct 2023 04:18:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231542AbjJYISG (ORCPT ); Wed, 25 Oct 2023 04:18:06 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E042C1 for ; Wed, 25 Oct 2023 01:18:05 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-538e8eca9c1so8006176a12.3 for ; Wed, 25 Oct 2023 01:18:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; t=1698221883; x=1698826683; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=xF6RmXe0iwrBVlFJKvkrtWsUWK5y+quiCOALv0ygLjY=; b=cHMoCLoyWqLWgCXUUkkDnO5cbAijynfJ0KVXEABg7InAxq1gAlCLqegw8NqEZZn41h G5foSadkFXVwf9Q2pbcuYF3lRalC/3mL2rW65LTbdP0Mv3R14Z5KXsPX48Ts4Cgj4f9Z C/KABSVzXS54FGaiYBTszdh5oIQ7ZEzT8qIFM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698221883; x=1698826683; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xF6RmXe0iwrBVlFJKvkrtWsUWK5y+quiCOALv0ygLjY=; b=E3zgnQ8iyRNhZyaylO8XOaTFeXpQBY5xniYJ0PhCGIm1yHMBgJM52+DfK8mSs9MAnb oLaYiA8Wx2yb1AEY9wQxjRvsxpl/BxIygHrxOyNi67Knd+M0k1Qx+KdlUlIGP9rrzYz0 RopZsuhilpwWPsBKp27SLRj/Q4F3f1WPn4FvEJVIb49CxvbC/ZbAJsxHMjHkhHzjGTez j68cOl+0ycymlSqqWnU7jcZrap1eNhZYBIxy+jhefmLnX70uUwoQtFe20IsBlowGWJSx +q9doHk82d+7H26CZLEFrYl4m6hviGzVk6Df99yZbajU5/0bEdGZwfCfbFvPh/9+mD95 tsaA== X-Gm-Message-State: AOJu0YzMQnfhrAHKQUCb09sb02fpWGs54/qw2J7b7VaI3YSWq8h0SxJi zK6bT77iAQ1WOw4HY0UllxcY5w== X-Received: by 2002:a17:907:1c0b:b0:9be:45b3:1c3c with SMTP id nc11-20020a1709071c0b00b009be45b31c3cmr12738251ejc.64.1698221882709; Wed, 25 Oct 2023 01:18:02 -0700 (PDT) Received: from [172.16.11.116] ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id ov5-20020a170906fc0500b009a1fef32ce6sm9561110ejb.177.2023.10.25.01.18.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Oct 2023 01:18:02 -0700 (PDT) Message-ID: <374465d3-dceb-43b1-930e-dd4e9b7322d2@rasmusvillemoes.dk> Date: Wed, 25 Oct 2023 10:18:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] lib/find: Make functions safe on changing bitmaps Content-Language: en-US, da To: kernel test robot , Jan Kara Cc: oe-lkp@lists.linux.dev, lkp@intel.com, Yury Norov , linux-kernel@vger.kernel.org, ying.huang@intel.com, feng.tang@intel.com, fengwei.yin@intel.com, Andy Shevchenko , Mirsad Todorovac , Matthew Wilcox , linux-fsdevel@vger.kernel.org References: <202310251458.48b4452d-oliver.sang@intel.com> From: Rasmus Villemoes In-Reply-To: <202310251458.48b4452d-oliver.sang@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 25 Oct 2023 01:18:14 -0700 (PDT) On 25/10/2023 09.18, kernel test robot wrote: > > > Hello, > > kernel test robot noticed a 3.7% improvement of will-it-scale.per_thread_ops on: So with that, can we please just finally say "yeah, let's make the generic bitmap library functions correct and usable in more cases" instead of worrying about random micro-benchmarks that just show you-win-some-you-lose-some. Yes, users will have to treat results from the find routines carefully if their bitmap may be concurrently modified. They do. Nobody wins if those users are forced to implement their own bitmap routines for their lockless algorithms. Rasmus