From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) (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 B517920FA9E for ; Tue, 25 Feb 2025 20:30:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740515443; cv=none; b=hymUpAqDmSawiAOH0UoojagDSsrTJJXbq2XoqPaUU1RLXrnVo7+IDJgfMfJoJ/yOIy9eDIzZPLofLdDsntDhhmCmQwYxZa8NxqbsPzPBmmLbFTlIXM7MHQn3ZEIXedAL8PGSkKvbwg65NbQdgaA+PLA/y0hv/CXxlmB44hbHuNE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740515443; c=relaxed/simple; bh=2mVGB3ONfKEx7GJ+S6y95LCKLGj9XhJhILt75fQVfOw=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=Bra3v/73L7ymHO9qXqaFivGv0Eug6gMIwSkjeX2HGd2p7Qs5I3dEb4GCQX2VFAGgYq+/95Kpg4cgtEIM7wejlZbXkS4TSncun4C1/hFabuJZb9qffhG53eAnQs5+24ihE0BTaqzex6FxI+xckXA5X8pEeuDtE9JKfGFj83htfEE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=QDk/Ac62; arc=none smtp.client-ip=209.85.166.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="QDk/Ac62" Received: by mail-io1-f53.google.com with SMTP id ca18e2360f4ac-855a1f50a66so157307139f.3 for ; Tue, 25 Feb 2025 12:30:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1740515440; x=1741120240; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pLp9Ea62UroP9Hu5zCjkj8kz5zOw20u3Q4aJrEzL0tk=; b=QDk/Ac62IhNXGzKqngYdxZCSXbG5x8xmDSsbPgHkPXGRGhqIjqDGUiGjOIbLEotfcn se3HyG1DX3SZks3sHjaY6okoeRFvBB28UNNWCtKlmSS+QyAwGicvJqcauIZFVZXiYKQU GgzXL1VOQXUMriHNRAZrFoShny2wIC/1+jmbs9w9ym9u1Gc8Z0PCpMhRpodbcGwM+P4G uwqOS3GH+wGHNc+y/i6iy5FR0l3xZ4BM2o5/R3ldtNz9Ln85GoYjxESZTB5rcK8ul0rU mXkT0l3LrxssCkjCIwxLzbEHfq1DkRgLLy3fvpgeykTgkFbAUQqMwfGga9Lhpd3vXWDD W+JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740515440; x=1741120240; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pLp9Ea62UroP9Hu5zCjkj8kz5zOw20u3Q4aJrEzL0tk=; b=Zf5BpvrH+LOfADKMs+1rgsFecBTI0pCxDmBYt1DHEG4VdjmHjmDRGPza4+8ABwA3BE ph5URIKqxUSZWDw0P1gJXEEUnXWboj22DCQaYLrhp1yfjMeJem0GC2wxVHoZ/TC3hY7f 1n6wpNt2hN1kihXitGsiPHQZJ5uvZ7a/ikykZS37GgiTFXyRF1Sdsn+nKPiNw1UoAqIV 2fyP21tZkRC7U1gFWg5Tjd/9IBhV5sCfcUq5J66byr/tBnvDvGaSLuSfWPISIFEMyVv+ mMsPqemQELAfHqtw660TnskUMYcKRyfr8Zi+uG8tM4QD4m4VgVkEtF20WSCg8139dmp7 9dNg== X-Forwarded-Encrypted: i=1; AJvYcCVeSlGcONwID7coTW/uLMpNk2G5q2HqKAMxzZJ4vXiKvN+oaKxzi4WM3xkeKXliYaxIC6A79mXSCppU@vger.kernel.org X-Gm-Message-State: AOJu0YwCjIAYCqv+7kesdGQyZ84RXwoe7YnqpQnEtx6x4NQrLrxmqpHx od4rmzb6Gpa1cKxZlbRAqkFF08IXVwQYO5P27VmLQZbYhbFobri8QJKOORauQgs= X-Gm-Gg: ASbGnct7zZAkIsJKMshAnXAJLUrVIRqynlMA/M564SlZQ4aOxmfH5Am4VpaphwV2VS3 FhsCIoVnXaLMvGanEpcQ4N08Lce40tBg7liGU4XBJ2Lt9xfUd//vGHZv6eicsJFTUWX/qovbNcS VykE+NAU8omoG12zYxq9DbaW38eWrl04d8ROab+16M7DE3Ui+ws3FTmzjGsGJDh6nnnaXY1LWQk SRV7GMCdsXX+9UL/Z8NFOQX5uPnx0PCECfGJFJnbwaTNARHe4WACxdiq0YZwfFzcKbhS+w1ePJz eahJ8yQwnFouxo2v X-Google-Smtp-Source: AGHT+IEI1HpA9fGHJ1GdkYmfu92FscKbuH3o9L2lVKiqa4D5puwjeIXVc4djLm6mFSVg2XH039gtQg== X-Received: by 2002:a05:6e02:b2a:b0:3d1:968a:6d46 with SMTP id e9e14a558f8ab-3d3d1f40415mr9808255ab.6.1740515439644; Tue, 25 Feb 2025 12:30:39 -0800 (PST) Received: from [127.0.0.1] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3d361ca3896sm4764255ab.53.2025.02.25.12.30.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2025 12:30:38 -0800 (PST) From: Jens Axboe To: Andrew Morton , Yaron Avizrat , Oded Gabbay , Julia Lawall , Nicolas Palix , James Smart , Dick Kennedy , "James E.J. Bottomley" , "Martin K. Petersen" , Jaroslav Kysela , Takashi Iwai , Chris Mason , Josef Bacik , David Sterba , Ilya Dryomov , Dongsheng Yang , Xiubo Li , Damien Le Moal , Niklas Cassel , Carlos Maiolino , "Darrick J. Wong" , Sebastian Reichel , Keith Busch , Christoph Hellwig , Sagi Grimberg , Frank Li , Mark Brown , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Shyam Sundar S K , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Henrique de Moraes Holschuh , Selvin Xavier , Kalesh AP , Jason Gunthorpe , Leon Romanovsky , Easwar Hariharan Cc: cocci@inria.fr, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sound@vger.kernel.org, linux-btrfs@vger.kernel.org, ceph-devel@vger.kernel.org, linux-block@vger.kernel.org, linux-ide@vger.kernel.org, linux-xfs@vger.kernel.org, linux-pm@vger.kernel.org, linux-nvme@lists.infradead.org, linux-spi@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, platform-driver-x86@vger.kernel.org, ibm-acpi-devel@lists.sourceforge.net, linux-rdma@vger.kernel.org, Takashi Iwai , Carlos Maiolino In-Reply-To: <20250225-converge-secs-to-jiffies-part-two-v3-0-a43967e36c88@linux.microsoft.com> References: <20250225-converge-secs-to-jiffies-part-two-v3-0-a43967e36c88@linux.microsoft.com> Subject: Re: (subset) [PATCH v3 00/16] Converge on using secs_to_jiffies() part two Message-Id: <174051543709.2186691.13969880655903967909.b4-ty@kernel.dk> Date: Tue, 25 Feb 2025 13:30:37 -0700 Precedence: bulk X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14.3-dev-94c79 On Tue, 25 Feb 2025 20:17:14 +0000, Easwar Hariharan wrote: > This is the second series (part 1*) that converts users of msecs_to_jiffies() that > either use the multiply pattern of either of: > - msecs_to_jiffies(N*1000) or > - msecs_to_jiffies(N*MSEC_PER_SEC) > > where N is a constant or an expression, to avoid the multiplication. > > [...] Applied, thanks! [06/16] rbd: convert timeouts to secs_to_jiffies() commit: c02eea7eeaebd7270cb8ff09049cc7e0fc9bc8da Best regards, -- Jens Axboe