Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1032402imm; Fri, 22 Jun 2018 09:11:25 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLbPLmGO+EXs+Xyl9fVHhvMpC9ND80mvnfyanKprvyIraq9goWPbGFiXvuAAsDnD+ybAPcN X-Received: by 2002:a17:902:1101:: with SMTP id d1-v6mr2285944pla.147.1529683885441; Fri, 22 Jun 2018 09:11:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529683885; cv=none; d=google.com; s=arc-20160816; b=DVft2dANIvW/OeLLrOeBIcni+9W4dsIZ0kRgr0Xqk+Zj+JlrpyOlc/XSCGNG+W0AUF 6rZOWwci9criEdMitp0SxdSENPTg4Ii5ZdoDlGihotBrEW9J+SplMnXzrzNF37b724S/ ftLzwWuiifj3wewXc25IQRi1Hcdw2tYSkaePqZ6ZhSg8uOZMhusNxflOoRKDghr7K5B6 gMMNIBpP0eejGIO1dI4vcd6jtx6+0rf6MVURoI85oADt/C8Tburg1w0FCTlAVvwQwcKK yqNteu0FMeVl4r08JLZQ1LHtMiInjSzt4vVhztgvM4vhRHkcix/64g0ltp3oeRAEdEyK SrSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Vrh0XckzUOSOIOQ92roYJ0cA0iX5kO6q2+qbxHDAu9Q=; b=z7nhYqvKcliHu+4X/BO5P2kNIWuHTuGE8IOfbxQRWnaQcZWWaBWWcHDyObH9eyCl7t tCD4BuNPvOkdIuah24lO6/PQSqb0HcQSxArysIMoKG5nPY4Om02yZHsti1uQZAi7pU4h tuTXftY6uhbnMb7BWocT6uJWeW93EYocvrubwppGMoKjhyH6GbtXV0bKjggaq7Y/t4u5 vn+7yhPA5sAiHmLcK1/CXKpCCoZKBkUkokGIoi+AFsgY+wkzv4TcW6ZRPooGRHcE8ZWB gPGIIIegQTPp4HUc1ZU6CFYZLT3azXrb4FQ12u3FdZi1XbftBXuLzY/dlqj6xGmpwSCR 2s/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h9-v6si6277589pgq.131.2018.06.22.09.11.10; Fri, 22 Jun 2018 09:11:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934208AbeFVQIi (ORCPT + 99 others); Fri, 22 Jun 2018 12:08:38 -0400 Received: from verein.lst.de ([213.95.11.211]:57348 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933391AbeFVQIg (ORCPT ); Fri, 22 Jun 2018 12:08:36 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id AB28468E49; Fri, 22 Jun 2018 18:18:02 +0200 (CEST) Date: Fri, 22 Jun 2018 18:18:02 +0200 From: Christoph Hellwig To: Al Viro Cc: Christoph Hellwig , kernel test robot , Greg Kroah-Hartman , "Darrick J. Wong" , LKML , Linus Torvalds , lkp@01.org Subject: Re: [lkp-robot] [fs] 3deb642f0d: will-it-scale.per_process_ops -8.8% regression Message-ID: <20180622161802.GA18957@lst.de> References: <20180622082752.GX11011@yexl-desktop> <20180622150251.GA12802@lst.de> <20180622151409.GA30522@ZenIV.linux.org.uk> <20180622152850.GA14366@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180622152850.GA14366@lst.de> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 22, 2018 at 05:28:50PM +0200, Christoph Hellwig wrote: > On Fri, Jun 22, 2018 at 04:14:09PM +0100, Al Viro wrote: > > > http://git.infradead.org/users/hch/vfs.git/shortlog/refs/heads/remove-get-poll-head > > > > See objections upthread re "fs,net: move poll busy loop handling into a > > separate method"; as for the next one... I'd like an ACK from networking > > folks. The rest of queue makes sense. > > I want to see basic results first before micro-optimizing. After that > I'll send it out to the net folks for feedback. I looked into this a bit, in the end sk_can_busy_loop does this: return sk->sk_ll_usec && !signal_pending(current); where sk_ll_usec defaults based on a sysctl that needs to be turned on, but can be overriden per socket. While at the same time corect poll code already checks net_busy_loop_on to set POLL_BUSY_LOOP. So except for sockets where people set the timeout to 0 the code already does the right thing as-is. IMHO not really worth wasting a FMODE_* flag for it, but if you insist I'll add it.