Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2661345rdb; Mon, 5 Feb 2024 13:33:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IERnPXZqHUeMSXtBF3YlFqtDPTsqoCsHxHx4BaKZ4ULAO7rdqgApJGh0TDndfEABaMAv1I6 X-Received: by 2002:a05:6808:114b:b0:3be:aa44:2635 with SMTP id u11-20020a056808114b00b003beaa442635mr451149oiu.36.1707168803572; Mon, 05 Feb 2024 13:33:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707168803; cv=pass; d=google.com; s=arc-20160816; b=EqjXiavQQ9CMkh+Do01VcNkp/kyfbu72AFYJRwTYLNZ37KNcXND+a+5M+uTDwlZeCE 3AWmd90PTxhYb1NWPBdH0yI/sqTyVVbDmR9gfPGRXPIv1ca4dQgZNPw+Jptb0Wn20QSg Wf222EJVfoVwke0XbCH9PWhfn5+D6bA84i31kuqecV3zfJZyZqcTWr/5ctD6TMx1bfbh kEeDo6pATLfaOYWMvI4qNNuA/5J8ci1Wqg/QpER4D+8W8GG3z0sW1vUzG2bp5lnoBTIG xudsFTuSEwZv/DvtdNUxJSHqkL+3keQESYhzIVZhjiPVxAGMCric+yQkOKkcWm4Fg6vx GRnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=eW7vdov42lKgcxuLT8t/Z/mQhkb/6Av39EM4GvJDsu8=; fh=Xd/8/aRQMj8wcvtih+kmTYTsumgNl2UQqHQqI1/eK/A=; b=AhCWBkiHRryEuIs0yfRf1yjrEyLl1vCSAbcT1wXqLm+7BV4DTRm0LGhqTQnIgyYrGf K4yRfoUz9T/9m7G+9XANd6XMeOvyJ1jUObHd33pR2AgcDB0ngohbp2dwUoX1E0NYw2Xp p4vEi6YVxAVeuvI+zi/7Ujkv0yvcsthi17kSh5eORlAWYRhdx4BCywa83f4ORTfXr3SB NPAla65pfRx1LLyj5Kd86ZSqeLagiEJMKlNkmwOuyHPMqUEyAJtoE4LuYa2u39TD/Fw1 S/BaPPGmeMqzOQHXsjiUE6jtczqd/wh1LyP83l4vRWElqPU0VpsE24dJozRtWKOcCWIC HMsw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m5jDQp7+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-53869-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53869-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCVlbXC5jzlJPE6OrqW9yQL2rpwRlamMwljwJv9+MgwRL9b/pXgFmEnLWU8FzZIumxgOWnRHDve03uzatavUFLf7MlViIxfCK/uIBbbZsQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g7-20020a05620a218700b0078319e53b28si753487qka.590.2024.02.05.13.33.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 13:33:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53869-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m5jDQp7+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-53869-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53869-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 52A1D1C270FD for ; Mon, 5 Feb 2024 21:33:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3165381AD1; Mon, 5 Feb 2024 19:48:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="m5jDQp7+" 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 4FDB081AAA; Mon, 5 Feb 2024 19:48:22 +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=1707162503; cv=none; b=HnnMMNCOVKZE/enlEDMTI4iTSHaAhLU95AeLKu5xNeq5NkWvfNYICfcTTfD1n9Ad5Tik+yV2Wb35na+XCsLlLNFDpoZBHivBYPvtvV63IWvLoWqHHJ1fto6Istjevt6w2yxncY8bqEUX8KjJ+vcLvE8GrbHMVsBMzwwpg/YqQO4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707162503; c=relaxed/simple; bh=rd8tMvV8Wq5qfDFvWyiy9t3y/ONGDRXPFbv8vOaEvCA=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WOPoCBp9XANZJ1uHsVev7RLyet/uyKgq8ixeHb9BDplmi3YFcILFibn4wQh0iheSqbhePPjX/AMNuetuo1FDkWHY4fNYj8y913Q1/e73MzubNZkFg2YSU7VTIxmgMgXAJhtsbd/OhOrYKEe5vYVsdS1u8VWU+GRgdgm2a2+P+NI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=m5jDQp7+; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 460FFC433F1; Mon, 5 Feb 2024 19:48:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707162502; bh=rd8tMvV8Wq5qfDFvWyiy9t3y/ONGDRXPFbv8vOaEvCA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=m5jDQp7+lowH5sOCzZBMoGSOKvVK98UP0ioloOfh7nxmUasTmOa/RXL5StlzL1zoB 84LLsqP4xC54EJfMzBNKR2D+eefsW4c2r+Qpzp1WOFaG+4mzFZj13ulrXkH7Ewm6he I9OJ+lQqzQc3U/n3801Gukz/VMuo2u9Z6qFuZb8ZrTcyeaJyAj8ARIoz5qgq85NTIn q2vDgLT87foyTknoWJzP82hl4pxJKNAD8EN71e9/56NjbbTFdGwaE+Y/DFgUod1zIm vBlyAYtXQn7lpeTfd8icL7VrRmkouJczIcJT3LDkR3MfkZlczwck9jrBY2GG5YzNhh BuQRsYAic9cXg== Date: Mon, 5 Feb 2024 11:48:21 -0800 From: Jakub Kicinski To: Joe Damato Cc: Stanislav Fomichev , sridhar.samudrala@intel.com, Eric Dumazet , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, chuck.lever@oracle.com, jlayton@kernel.org, linux-api@vger.kernel.org, brauner@kernel.org, davem@davemloft.net, alexander.duyck@gmail.com, Wei Wang , Amritha Nambiar Subject: Re: [net-next 0/3] Per epoll context busy poll support Message-ID: <20240205114821.4601ea5b@kernel.org> In-Reply-To: <20240205185217.GC10463@fastly.com> References: <5faf88de-5063-421f-ad78-ad24d931fd17@intel.com> <20240202032806.GA8708@fastly.com> <20240202102239.274ca9bb@kernel.org> <20240202193332.GA8932@fastly.com> <20240202115828.6fd125bf@kernel.org> <20240202202344.GA9283@fastly.com> <20240202171539.7347cb01@kernel.org> <20240205185217.GC10463@fastly.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-Transfer-Encoding: 7bit On Mon, 5 Feb 2024 10:52:18 -0800 Joe Damato wrote: > > Should we also add prefer_busy_poll parameter to EPIOCSPARAMS? > > napi_busy_loop in ep_busy_loop has its prefer_busy_poll argument > > hard-coded as false. Good catch! We only plumbed it thru to socket read busy poll. > I think making this configurable is a good idea. I can add that in the v6 > in addition to fixing the incorrect commit message in patch 1/3. > > What do you think, Jakub? SGTM (with the caveat that I'm not epoll expert)