Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1678882rwb; Sat, 19 Nov 2022 01:13:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf4SXQkoItGLOR+/flxG022LUgLCV7dqUBWYRPP3Te8ZWMKKYRbSUeUWVoT2DYKcotT3vTzV X-Received: by 2002:a17:907:6f05:b0:78d:6937:8e2 with SMTP id sy5-20020a1709076f0500b0078d693708e2mr3675107ejc.0.1668849201604; Sat, 19 Nov 2022 01:13:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668849201; cv=none; d=google.com; s=arc-20160816; b=GzNKBTcRDMyKB09y6YRwRwSTvpiZ9NlHKTuRl8iA2NA1DVFLiOk8aOT5JbK4V+5DpC cHULkFKo/AGa6nxPhFuW46cOlOusKsu2obrxopYjw1TjpLFBvrBnHSlz2E0MePlgocHU 3okOfL8T21ZH6oTAvbK0d3uOQyA+88ZS7sC3cgYR32Udz/+VbCOWHDaTnrjB+asGFBzb QoxBIN6//I5aZDPiOyIXhSLO7LbsOfchX1XhvKf8rejhi5Eqd/jTANLv9UXwPj4CUAzb 3dq6uQomCv7Hu4acw22YY1h/CYq+5YwDuDPw+u9/+FjTYuxjJWwM4IvoVmtImRsbAVLW durA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gNrmc9sCY03K9kss771LjqlwI8sltnBwNyKVMoCwqoE=; b=hx4r2Jtvps933JOgEFiw6j8WPn20kpU97dkAkZSC/koqC/5IOhH1N6rtqyzr/Hz+kO Hnabl/GtrLM4wHfmvLF+W2ltX2SQYpf3uATJoHukrINlZrJmu42K3rCPXeH9gk3smdhs mWbfAJs0G7foRsgVYch2pxJgm3apzKRR0yCOmPKtQJaEIScVDM5yDY8Xzp4yvaUQ+CUd Gi868oI8cDOCL1+xULQohNApEp+yc6hlebnskH9wNEDfXMnQ6ar7znJxP/XAi3thE0fE dVD+U8BGHCjIDsErepCKPdlvqFqe/gLGgxN/bbekcNsFWG5Ucl5tLA2dahR82mtJ1dta hQ/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VAhl2tmZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g14-20020a1709065d0e00b007ae9abf1990si5572774ejt.352.2022.11.19.01.12.56; Sat, 19 Nov 2022 01:13:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VAhl2tmZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233478AbiKSItk (ORCPT + 91 others); Sat, 19 Nov 2022 03:49:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233423AbiKSIte (ORCPT ); Sat, 19 Nov 2022 03:49:34 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB4736B9ED for ; Sat, 19 Nov 2022 00:49:27 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4EBB56009E for ; Sat, 19 Nov 2022 08:49:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5AEB3C433D6; Sat, 19 Nov 2022 08:49:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1668847766; bh=UVCfR3anyQssNbga8oJ+NA2adZ5isywkxGYwWPbPgQQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VAhl2tmZTRkke5JgfIumxAtjUqC4brzImyR2zWapBhnFUD+AfsLFdwJezVqzgywH0 jVZaijSnnFy2DviiqoXsGm5WIUb/2HyglBB9gwXz8lY7v1sUlsq94mRzmEoQ8ORDyN CB4H70m8XpOMk8oYxu1yFqECTlSVYU56bLX2LYz0= Date: Sat, 19 Nov 2022 09:49:24 +0100 From: Greg KH To: Anjali Kulkarni Cc: linux-kernel@vger.kernel.org Subject: Re: [RFC] Add a new generic system call which has better performance, to get /proc data, than existing mechanisms Message-ID: References: <20221118191202.2357801-1-anjali.k.kulkarni@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221118191202.2357801-1-anjali.k.kulkarni@oracle.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 18, 2022 at 11:12:02AM -0800, Anjali Kulkarni wrote: > Hi Greg, > I was looking up your readfile() system call and this seems something > useful to us - is this something expected to go into mainline any time > soon? Can you test it to see if it actually helps your workload? All of the ones I played with were just very minor improvements or lots in the noise. Also, look into using io_uring as that can probably do the same thing, right? thanks, greg k-h