Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp549225rdh; Wed, 7 Feb 2024 12:23:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IEwv0Gb08ZE9Q4u4fUpn64iPaLShsrnHiRxoAC8dN36pGk1KbW7Ehm+iKrP+cc6sOQ3QCG5 X-Received: by 2002:a2e:804b:0:b0:2d0:66cd:8637 with SMTP id p11-20020a2e804b000000b002d066cd8637mr5254640ljg.41.1707337431652; Wed, 07 Feb 2024 12:23:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707337431; cv=pass; d=google.com; s=arc-20160816; b=BDwCOwP97xoVaVsdEBGEcosTowxRzHfhuQCf6rWPj7UJ3M24Zl8t+6mUOaV/UZ61ni 6WYNOjP4567LRwicPOo2fOjhXecp0iitX9/wo/D0tz3+RrnkG5eTY3uaTPfK9ELiV9S4 nm7gclDitnAt/b1Paq5RmK1cxD493VDJPIv4vPMjNf5yBOUnHNEBXDkZMM9pWUJiovS/ C/qFTh2eG18P0ir8DiLvmP/gtQGDYkUFioo1N5yDm1ukaGImkWrh2guHBneGr6dNuqfi oTWehLRTmTECwOATvEacrc1zl0hnHFG6K3aBMXKVks5idN7of2Sz9UeI/b0tNAWryVDK Znpg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent: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=pUv7lvVM6VkpceK/tQ/gnRd5CGoChU/5Uxt3s4/vCy0=; fh=Qb0I/fJQg25Y1/vHaXMJMopNo9kVS9SnhoIB2FEHwko=; b=dLciyDfmqKufzCq9AEejMu+PbvbN24UrhTIrtPIzU+wfC094XeSnWzVq/aqIWixXD+ EcXk3Ck+Vjxwc9FKr3rN+bmDzzpiafrrOFIZo3Bvm6XqBi5nQWv1r+PqDEuzzEkrV7q5 igh/ngJMEg0z+vhSyK3xQUgk5+xQoCCP57as0rWzpJai7UNQU4+ILmESw8uWTz4zh2Oy m1VBEq3iaa2lPghb2L5BTs5f7rEd4wLc8MMiX7gnMBMJQkAcKZ1ke0zBwhmP6HLMxBsg 17NNCcFT+t3ur8sQzrzxLBTCuY3KzkDHpMD3Oki9ATOimHEb+BK5wBencugS9gh/HlKD OZJw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fastly.com header.s=google header.b=k4xrhElc; arc=pass (i=1 spf=pass spfdomain=fastly.com dkim=pass dkdomain=fastly.com dmarc=pass fromdomain=fastly.com); spf=pass (google.com: domain of linux-kernel+bounces-57011-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57011-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fastly.com X-Forwarded-Encrypted: i=2; AJvYcCXS1Id2Hlx6kEx84SQX+NTj/gwNVRg5Y3aOOXGB9I8Cn2f/svdw66yWbgDTMKbJm99MQoMY97UAZTEFkrReHRFale8pQKuIvG6+97Y1+g== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p7-20020aa7d307000000b00560eb443eb2si60587edq.364.2024.02.07.12.23.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 12:23:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57011-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@fastly.com header.s=google header.b=k4xrhElc; arc=pass (i=1 spf=pass spfdomain=fastly.com dkim=pass dkdomain=fastly.com dmarc=pass fromdomain=fastly.com); spf=pass (google.com: domain of linux-kernel+bounces-57011-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57011-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fastly.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 62E091F25760 for ; Wed, 7 Feb 2024 20:23:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DA2B127B75; Wed, 7 Feb 2024 20:23:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=fastly.com header.i=@fastly.com header.b="k4xrhElc" Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40118127B58 for ; Wed, 7 Feb 2024 20:23:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707337409; cv=none; b=Lle69z3h0QDvsko0fenu+Cx5V71LTNYeKPwQT/7U1gkR3+gC/KpU20agjqj07mF5u409m1lzOLR1tblgayRw+V5tcmsI1iKLiXLAqkZSVhfA8GLJVurU2SYcq9wuMIDxIBvGedFnVShX+GPDDsrFACMw5KofiTw8tPOSIynQNSs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707337409; c=relaxed/simple; bh=52gKcX+UmVuwAMUKbS3chE8siFn6XrLd+UQ4CKtpUJ4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dmI7dRdX3iifEMUAy8WOV53JgGmZx7U4wTuB7jf2J+MUrfMnnQWEn0D7q4Ibc35p1Dddt0uqMVIgZfaAv6YRQNbZGmMcSEXVOvs+ZNJ9tQAYw4sck4sK3LLZfNKX8a7qUv9uQaXr5lwdhCxJJwQze5QIjSopu3OSn/e8+e46pWg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fastly.com; spf=pass smtp.mailfrom=fastly.com; dkim=pass (1024-bit key) header.d=fastly.com header.i=@fastly.com header.b=k4xrhElc; arc=none smtp.client-ip=209.85.210.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fastly.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastly.com Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-6e0523fbc27so554512b3a.3 for ; Wed, 07 Feb 2024 12:23:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastly.com; s=google; t=1707337407; x=1707942207; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=pUv7lvVM6VkpceK/tQ/gnRd5CGoChU/5Uxt3s4/vCy0=; b=k4xrhElcjgnpwa5nBq+3uihGvCEv71F1cbBkJpr8cbJnbMbU8X2GhBWg6+ebz5FU31 m8RzIgDggcwWxzcNWpO1Qv0Az28VVfuPR1mhCtwRovxx/wTMCctDgKMLX94OKGHX+A48 XVN1TdsRZmbTH8Jx4QeLsZYAOILAvQaaCLeAU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707337407; x=1707942207; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pUv7lvVM6VkpceK/tQ/gnRd5CGoChU/5Uxt3s4/vCy0=; b=kErzVdmmfucwB4/2AwuADJNRbmvURPyHv6RAnHzz5d2z5cAtzmzv8EK71y+SNuENzp 8vuleJEGu82CD0/UMhLH6lXj6u9nyjq1doSpNldwznmBUKgETOO5yRPfj04TEsgJRTRW DTok08ZwAL+iheR2gN5bMy/eNRfdY3rnusZnr5F0CFj9mYLjT2dVHRge8YNjEQXDfvJu 8LgflnqIx2WiBlIDarKnehCNHlF7A/bo/yN/9c0bcZpDs3W0CZEX8/puAf3M4xyF/yQu g2LQ0IVdQUnZQU5d22fLcRZdATSy9BXDUqtr6AvNKMmE+A8/SeEaAzaYCi4hMaU0s9QE 8w1w== X-Gm-Message-State: AOJu0YxgHPjbKx+cEn+NX5ImnrUI7jy0WtkQ5X8HwI8tSq1Ol1TNlcS9 1SmQmdHYfMeNPBAwBPJ8ybz5zie48zla3e7EEoBX6X6fEb8Fx2k8rMWAhtwlanc= X-Received: by 2002:a05:6a00:418f:b0:6e0:5ebe:89f1 with SMTP id ca15-20020a056a00418f00b006e05ebe89f1mr5023588pfb.13.1707337407486; Wed, 07 Feb 2024 12:23:27 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUCqUE1ygMi5QRm+bprEdVdWJwdWoU7OckQ7HYlQsSwxfrRQ0w1+Q0hpe0/+qzeRc/q+6TlwYqyhmoi4bEJEJAlnHlFDdWGggJFPayc3yYYqjVKrqu62dWm6HcYGrTnk0y5pr1QN42ubb2OzUcBklB5HhZEvkvtPGRKMaxzkDRxJGoEgnTwPOH7rkEGKgU9wLZAqdDHUldk8x+o5bDcTFvl3RA/wwaUfQna0EyzJ1oFge3JzOolnxycEx/8yypvjMXKlz8hXK9+vXwCY8uXzTmJg7yxBskkHf+rslkVZeCJG/xK0d7xowOx5MgOHK5snYF5YwQuxLCB6/FqktgX93hCk7k070E9ePSO9MnXEvOd2tc0rpMB/a2O5pepImHDhG98WmBdRBSedlHuX/80/MAW4FKVpQ9ov3MboTl9SFJr8ftv9rs89G0Di+LaoNaO8FgvcRci4srlT7gzzyfMtv6PU22/C1tpIcqnozgVaYkexZmdM7I0OqPu+7BCJggqnf54LtX/g+g8MKl8hJT3+piYHRj6emQu65mTCirCQdJZo/Ewpm47/9xtFPw9iMOzPfuZTT8b89ARKX48K0G9mQ77QUlamjrDBSuilDsrb9jAMw== Received: from fastly.com (c-24-6-151-244.hsd1.ca.comcast.net. [24.6.151.244]) by smtp.gmail.com with ESMTPSA id cl13-20020a056a02098d00b005d34cf68664sm1874233pgb.25.2024.02.07.12.23.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Feb 2024 12:23:27 -0800 (PST) Date: Wed, 7 Feb 2024 12:23:23 -0800 From: Joe Damato To: Jakub Kicinski Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, chuck.lever@oracle.com, jlayton@kernel.org, linux-api@vger.kernel.org, brauner@kernel.org, edumazet@google.com, davem@davemloft.net, alexander.duyck@gmail.com, sridhar.samudrala@intel.com, willemdebruijn.kernel@gmail.com, weiwan@google.com, David.Laight@ACULAB.COM, arnd@arndb.de, sdf@google.com, amritha.nambiar@intel.com, Alexander Viro , Jan Kara , "open list:FILESYSTEMS (VFS and infrastructure)" Subject: Re: [PATCH net-next v6 1/4] eventpoll: support busy poll per epoll instance Message-ID: <20240207202323.GA1283@fastly.com> References: <20240205210453.11301-1-jdamato@fastly.com> <20240205210453.11301-2-jdamato@fastly.com> <20240207110413.0cfedc37@kernel.org> <20240207191407.GA1313@fastly.com> <20240207121124.12941ed9@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: <20240207121124.12941ed9@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) On Wed, Feb 07, 2024 at 12:11:24PM -0800, Jakub Kicinski wrote: > On Wed, 7 Feb 2024 11:14:08 -0800 Joe Damato wrote: > > > Why do we need u64 for usecs? I think u16 would do, and u32 would give > > > a very solid "engineering margin". If it was discussed in previous > > > versions I think it's worth explaining in the commit message. > > > > In patch 4/4 the value is limited to U32_MAX, but if you prefer I use a u32 > > here instead, I can make that change. > > Unless you have a clear reason not to, I think using u32 would be more > natural? If my head math is right the range for u32 is 4096 sec, > slightly over an hour? I'd use u32 and limit it to S32_MAX. OK, that seems fine. Sorry for the noob question, but since that represents a fucntional change to patch 4/4, I believe I would need to drop Jiri's Reviewed-by, is that right?