Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1354128lql; Tue, 12 Mar 2024 14:49:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXdZu6Kf6KdERHpK41no2CXjWARqLRu8xHxAug0rVqKNy5PaFF2gSqeEICBJ2EvS7BCMPi2mDfud25pFKESpRj5s+tvognSV56o6XtcGQ== X-Google-Smtp-Source: AGHT+IG9L/WVV/vnu4DKbmGT3FzZGdhU+GXYhlIbkWw17PBqq16CF1Oyc3FO3CZfHM5oPpQixB6P X-Received: by 2002:a17:90a:6986:b0:29b:c9ac:c563 with SMTP id s6-20020a17090a698600b0029bc9acc563mr1589083pjj.19.1710280151274; Tue, 12 Mar 2024 14:49:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710280151; cv=pass; d=google.com; s=arc-20160816; b=oEH6INkHe1bseCB1tkpFYz67L94xrNC8b3d9PW1GIhe4PNbBGMC1f1/ucUcyHnCV3G /Aw3e1Q803nSmwb4iFXZDKh9Gd+O6yFHEtK30+6Jqivvdto3V9n+2aZvz67Vm+Ee9wuy p4/fmmhf7WlJNX/7SsBN/YZBcBMEp5IcxeHZAeVSgGSKgarEW8wz/7Q6KUE6sKqhCCs0 HzR7tw1jcqifMmL5rVEJNjUlVYm3JNmOcKbOpfCvAg9Xlm83tmMK5k/sqcY0HDkce4FO JPR6AGPTT5Krs/NnQLwgO5N8rHJbSOtWCffbCQAdgKqL4/ZjWoRbXaon8zxdiGA89qYU 3Www== 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=p3OhI7UURlzGPRF7BgLs1GqrngFnk+tyYJffNxGp1Vk=; fh=HCrv4KQza8D9qNpCYTml74m5j4BhKK80mrg9MI8EAMU=; b=IbkRehnNOAmtOA54QJfgmuxzx0US/qEMAen1tgQi3KPO46ncdoA92olgFdlQk5AprU JtvEG5xY+8Q48j1TTDshLCEjT17ZjsDkb1Y1tYvpPrSWDBg6ICGmaw6hn6KwS7im2ZIs HfZTaPXCshEBMxjvZxbT4PwoxQWp+aCF/E5oNGPIOg+wel7xAYRbZXy9+uiS7HmKKcxD 1g5gsGZdDW8aTNADR68hKypmt7jgQqCHaUl1KvU2k3rYmJoznGHh4HEm+mYjwV773lPD divg01/gEmUQYl74Ef9ePm/BYM2X1U/i3sX1cUH8ayL6tlmJaKFqYj96Fo3wAgtAaxw+ rQ4w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LrBkFL6t; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-100832-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100832-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f4-20020a17090a4a8400b0029bf0ec19fcsi101887pjh.132.2024.03.12.14.49.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 14:49:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100832-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LrBkFL6t; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-100832-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100832-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E27422828C3 for ; Tue, 12 Mar 2024 21:49:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ABEAB14405A; Tue, 12 Mar 2024 21:48:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LrBkFL6t" 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 C3A3713B2BF; Tue, 12 Mar 2024 21:48:07 +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=1710280087; cv=none; b=QjCwjHxaKMI9I1+jKp/qcWZYvMh56rODPav6ICTaTf38a74bEn15vzgz3ywd0ahETFAOaca+1xnBuqOeBodz1jwEHsWCjtSPhz7djKTLE4LlxNSHjCQ6FVYIcfcsc8XewoCaVJobMN9jKWVl3kYukbFRdLDPjyBewMnKLk+v3Bg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710280087; c=relaxed/simple; bh=/29e+s2YsPn/3RubcJskOJ3JbuCTi7M0bCO0bG/DGy8=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=noohhlH902FH+Fpzu/5iotXWWJGGq35fv41cDuHv9v0C+skrC7z8ADUZCkJliEjvvfOYYjI79EFWbMp7894hY3uR1oKbvqP6KLpPqNnzYLhhAPktj31BpaJabmHAOubdobcrEchPiEHFxXZ8hFIjNZgUF8vWkcQ3n152W9tmQSc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LrBkFL6t; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F6F3C433F1; Tue, 12 Mar 2024 21:48:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710280087; bh=/29e+s2YsPn/3RubcJskOJ3JbuCTi7M0bCO0bG/DGy8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LrBkFL6tJxUURZimf/zd4qlmU4t6HGkSsyYQBdk1f9/VmdSqYpM3tWmELXwgiA1jx tibKp/uhT93xMcV8vLbEpRQacPIj3gUOdfTK6lan8cVbQsin4UNckId7BeEZZY8knO eFpFBvjQSHgL6E44UOPYlboBuylhTEX+hmVHO6Q1LQxPgS/fo5Rs72HJ+FRAV/5k4i TCSCXYZiuoBXbvcBeowdmUBgCtpTeLtJb5cVeMnF64Be3Pue9qq3JDGo9KUfVY9zDp JO0GaW/weUyqLuq1Lzd8g5I4Dc2RSAOuxpZSH6iUQ7WPwGzoaL4M9Ygf/hZbzHIm6Q BfmY8OboVwclw== Date: Tue, 12 Mar 2024 14:48:06 -0700 From: Jakub Kicinski To: Jens Axboe Cc: Linus Torvalds , Johannes Thumshirn , davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, pabeni@redhat.com, bpf@vger.kernel.org, Tejun Heo Subject: Re: [GIT PULL] Networking for v6.9 Message-ID: <20240312144806.5f9c5d8e@kernel.org> In-Reply-To: <39c3c4dc-d852-40b3-a662-6202c5422acf@kernel.dk> References: <20240312042504.1835743-1-kuba@kernel.org> <20240312133427.1a744844@kernel.org> <20240312134739.248e6bd3@kernel.org> <39c3c4dc-d852-40b3-a662-6202c5422acf@kernel.dk> 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 Tue, 12 Mar 2024 15:40:07 -0600 Jens Axboe wrote: > Hmm, I wonder if the below will fix it. At least from the timer side, > we should not be using the cached clock. > > > diff --git a/block/blk-iocost.c b/block/blk-iocost.c > index 9a85bfbbc45a..646b50e1c914 100644 > --- a/block/blk-iocost.c > +++ b/block/blk-iocost.c > @@ -1044,7 +1044,7 @@ static void ioc_now(struct ioc *ioc, struct ioc_now *now) > unsigned seq; > u64 vrate; > > - now->now_ns = blk_time_get_ns(); > + now->now_ns = ktime_get_ns(); > now->now = ktime_to_us(now->now_ns); > vrate = atomic64_read(&ioc->vtime_rate); Let me try this, 'cause doing the revert while listening to some meeting is beyond me :)