Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp476041lqh; Sat, 4 May 2024 08:30:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXNQ7O7nH91N38Yirc5xHZ1Uu7IwQ2GwWdxls8+FX81JcKQfHvyT5i1Qo7DTlE6smaW9DWmpFyVsZld090K23OcqSAnTTNejpJeoaZamA== X-Google-Smtp-Source: AGHT+IEd2t3VW4eZ1IPyUqu5zXfs5JsORyuIQT0df748HI+susuySp6HT72PSsoh046NrJk4T1h6 X-Received: by 2002:a05:6214:40b:b0:6a0:4255:b727 with SMTP id z11-20020a056214040b00b006a04255b727mr7951679qvx.9.1714836604759; Sat, 04 May 2024 08:30:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714836604; cv=pass; d=google.com; s=arc-20160816; b=0VF5NA4wZjhV9TDYLcWF8zle4kZy7EKzTeHKwftC0RgVkwJoyErzcoAvELF07dqOv9 RwUxJUmjHFGdfKEKB+82lTUprXqhaWVwTWFUf4DhwxvCrOFu95hEK5DZ3Ia+NS8dQc8f HkYm5UVi7h5X/94nujQfYOXhHtgBXUBXWuRb2wkFSPbQHvrIbUw7rpiQ8JyCAxYcVaCG 4ROCVCqiBujRiG1ZSNnRAdyXNMQ9JQGtYTKLr3K4Sr3r+Cq6rCGE2LnclAZZ1zDh+Fa0 jNxvWBzsjsQc7kbeVvl+e8qkHi+Ie03HAsYRTn1V9lUSIPBNuHzgpbKCGcWg5s30cmgR Nd7A== 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=Irk4pn4Zz2d1AxGij4dm96Ndp+J2S0oMy8nYCzST/Js=; fh=YRTlvleGrLPRjJp/rWoXQJmo/QU+Tn6ZlQlNS8DiDtc=; b=U55QqbFHOIykdfXRZMTJT4VAefrcTY4VWWM4AuaSO9ecoy8uohN3GnKn06iKTRLfBH A3/5c2gdHm2wLKXPUfCJdjCR3FbXcqqiUdeDT0oHC5/uIC2dss8jWPXguPqgtu08QnX+ y4JlLW5z8qFOjYuJpgHNO651+vK7nUfP2rOhvPbiS9+8QY4XDwZMXVBfSJ4QorxC3aa7 JumApR4luOidc0Tsn1fE4YVFwLOpXaXlUfjGknbSILIemEF/l8vKVeCK2EYRAPsWcuvs cYbzUgR5/gx/azWwq2zDosJRRyJP+4Ly1haIF1OvCmrq5qP6SYY6lJ/DEutwNv63aGRW 16JA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ckHyTXnQ; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-168725-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168725-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 5-20020a0562140d6500b006a0d70d131bsi5597792qvs.295.2024.05.04.08.30.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 08:30:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168725-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ckHyTXnQ; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-168725-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168725-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 802DB1C20DF2 for ; Sat, 4 May 2024 15:30:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD6254500E; Sat, 4 May 2024 15:29:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ckHyTXnQ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 038D81EF15; Sat, 4 May 2024 15:29:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714836592; cv=none; b=bPvn2qd+ajXb5Rrh0BTQFkwBLwJ/4yM2E8jtZYEhwreu1PWJUu4fxCzAUVyluZT2htHUCC7GcIVoq38TLmNcuaTfHf/2iQuD3yTYv0I29Mdv2WfvbnNqb3v4EEF7oZ42RzSCIO4grQo/aBOVyhTKnph4yUe+XgT4V+IEhgQ8aI0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714836592; c=relaxed/simple; bh=02pleUcf8dXK4cmRCtM627DBPUH9ytcp+zcd8Xdh+ck=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=td/oIUl2YgDR76vPFX3cYnFdLxR/Vxnt08sbMeJvSXHFwABVIopz7IN0JNA4VCc9VZzdx6EJOgAbQzjICB/zmNv9Tjdg+BJxhB/u130d2/x/IENJ5tfz2LNF3F8zusWnNAivYr8zdd7pFhiwti6agmyW+KzRJZ3vDVgC/XdlATs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ckHyTXnQ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE77DC072AA; Sat, 4 May 2024 15:29:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714836591; bh=02pleUcf8dXK4cmRCtM627DBPUH9ytcp+zcd8Xdh+ck=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ckHyTXnQ2pTe5wxPLHsCP4m8XHGFsYaY2MhWKDcggC4eVCa1EdYYGONIZZviVJ59L ck6wZ4xkLMPGAPrEYdJhNkWurKID3hzx1R/NKEPbDWHBkiSqQo3pzio/sKEuB/rPI8 MZ8pU2ZtOP7qhop8G4J4GcLJmZli+xecnpPY+sKA= Date: Sat, 4 May 2024 17:29:46 +0200 From: Greg KH To: Andrii Nakryiko Cc: linux-fsdevel@vger.kernel.org, brauner@kernel.org, viro@zeniv.linux.org.uk, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 5/5] selftests/bpf: a simple benchmark tool for /proc//maps APIs Message-ID: <2024050404-rectify-romp-4fdb@gregkh> References: <20240504003006.3303334-1-andrii@kernel.org> <20240504003006.3303334-6-andrii@kernel.org> 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: <20240504003006.3303334-6-andrii@kernel.org> On Fri, May 03, 2024 at 05:30:06PM -0700, Andrii Nakryiko wrote: > Implement a simple tool/benchmark for comparing address "resolution" > logic based on textual /proc//maps interface and new binary > ioctl-based PROCFS_PROCMAP_QUERY command. Of course an artificial benchmark of "read a whole file" vs. "a tiny ioctl" is going to be different, but step back and show how this is going to be used in the real world overall. Pounding on this file is not a normal operation, right? thanks, greg k-h