🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5081

Re: [PATCH net-next v2 1/4] net/sched/sch_cake: serialize reconfiguration with the datapath

#5081
From: Toke Høiland-Jørgensen
Date: Mon, 19 Oct 2026 18:39
45 lines
8912 bytes
Jamal Hadi Salim <jhs@mojatatu.com> writes:

> On Mon, Oct 19, 2026 at 10:53 AM Björn Töpel <bjorn@kernel.org> wrote:
>>
>> Jamal!
>>
>> On Mon, 19 Oct 2026 at 15:47, Jamal Hadi Salim <jhs@mojatatu.com> wrote:
>> >
>> > Hey Björn,
>> >
>> > On Mon, Oct 19, 2026 at 9:07 AM Björn Töpel <bjorn@kernel.org> wrote:
>> > >
>> > > Jamal Hadi Salim <jhs@mojatatu.com> writes:
>> > >
>> > > > This is a follow-up to commit 7cbfb180945c ("net/sched: sch_cake: fix
>> > > > autorate reconfiguration throttling").  That change only stored
>> > > > last_reconfig_time; it did not address the concurrency between the
>> > > > autorate rate update in cake_enqueue() and the netlink reconfiguration
>> > > > path, which the original review flagged.
>> > > >
>> >
>> > You are reviewing a very old version - the last one was a v6[1], most
>> > of these fixes are in the "no good deed goes unpunished" from sashiko
>> > ;->
>> > I am about to post a v7. Maybe review that one?
>>
>> OMG... sorry for the noise.
>>
>
> Not noise at all - with all these AI dump it is overwhelming. Always
> great to have someone review. Sashiko will always find something to
> whine about - the bikeshedding it engages in is shameless sometimes;->
> I just sent an update.

Erm, I think you're confusing patch series? This one is not the one
you're at v7 on, Björn did review the latest version AFAICT (and I agree
with his comments FWIW) :)

-Toke
Technical Details
Message-ID: <87ld7twn5c.fsf@toke.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348784-linux-kernel-netdev=dewy.ru
References: <QDISC-5RTM.v2.r0.20261015051735@mojatatu.com> <QDISC-5RTM.v2.r0.20261015051735-1@mojatatu.com> <87ld7t3kl3.fsf@all.your.base.are.belong.to.us> <CAM0EoMmL1Yjo67wOmOwWtfYLNrVFH7zSbgDtx2Rg+k3-Nu4QOQ@mail.gmail.com> <CAJ+HfNigAQTJ37tx_74jqPcCCwsk1XR5-reOo7i-u0xCKqF--Q@mail.gmail.com> <CAM0EoMnToUnKv9gSm=fxTj=t3BMXzu3=NDDFY3OvysnbdjCubw@mail.gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348784-linux-kernel-netdev=dewy.ru
From: toke@toke.dk (Toke Høiland-Jørgensen)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v2 1/4] net/sched/sch_cake: serialize
 reconfiguration with the datapath
Date: Mon, 19 Oct 2026 20:39:11 +0200
Organization: Usenet Network
Message-ID: <87ld7twn5c.fsf@toke.dk>
References: <QDISC-5RTM.v2.r0.20261015051735@mojatatu.com>
 <QDISC-5RTM.v2.r0.20261015051735-1@mojatatu.com>
 <87ld7t3kl3.fsf@all.your.base.are.belong.to.us>
 <CAM0EoMmL1Yjo67wOmOwWtfYLNrVFH7zSbgDtx2Rg+k3-Nu4QOQ@mail.gmail.com>
 <CAJ+HfNigAQTJ37tx_74jqPcCCwsk1XR5-reOo7i-u0xCKqF--Q@mail.gmail.com>
 <CAM0EoMnToUnKv9gSm=fxTj=t3BMXzu3=NDDFY3OvysnbdjCubw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="3687584"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:xg2P39p1AiAat+/E97GJbfcFmGg= sha256:e9ZJFYd5d+QFo304ewRw66Zp+ks3XHZiCGZRx5q91/Y=
	sha1:jWJTQGcwoGvpFwlwPfrSV4ZkOLI= sha256:Ffe49WN2uAc73L+wecsFcyy0MvfcZpYF6AV3AjwmPiw=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id C4F36110ACE; Mon, 19 Oct 2026 21:39:58 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.95
X-Spam-Status: No, score=-1.95 tagged_above=-9999 required=6.31
	tests=[DKIM_ADSP_ALL=1.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 07UPWHBJr5O8;
	Mon, 19 Oct 2026 21:39:56 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-348784-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=toke.dk
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id D8E81110A35; Mon, 19 Oct 2026 21:39:50 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 9471460BCEF; Mon, 19 Oct 2026 18:39:26 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792435156;
	b=Y+ZuEr6Kmu8Ss2UyAcdQB61L9WX+Rb264AfTkBaasV5+5ABRAHqElE0cArSVTQrpdNKs
	 C6AppbNb+A43fJzqcsjG8b0eGhiNJX+f8lfp+XpmcyhpTU5Edi5htqO7PGNNvt7YcP9Ln
	 Qnrkc27HOZjgzIy/kddgK271mAT8uUBRLwtPTZs+9RwWYdVRDYul2UdSmx2NFhTkaUyPN
	 MCarH0YIsJiE8mr/U4I5/enO3oEOJuFF52sXZWQaMd5pMoa/OERyikRiKgRVzoSNh4+Te
	 k5WN42sC1og9g8D84+woaJkRHiSD9l9mRRAyhuu+7Ed9tPaQyM5eO5mc5BokGXgLArQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792435156;
	h=X-Original-To:Received:DMARC-Filter:From:To:Cc:Subject:In-Reply-To:
	 References:Date:X-Clacks-Overhead:Message-ID:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding;
	bh=d8JfaRPpsKe/wkP2ws3S5i8V/OOGlLqrqKmRARIuRek=;
	b=XHyqs6CIoAUrfiwXB00Ut939W3JQ71Yh7WAEsyF1SDyPpyhgPve88FlqypVBEOdCx4pn
	 /oR3h4XdJaDXFji63sjDIRQWK2P/MRtLLIrLfp6tFpgf26PnA9FdvZCKq66p0VWtOsMkn
	 ZShPggcjetMpOYgwGbR3hPRhRSln3f+gx+DE83QcmWbhimb00b3+kJX8ZvgkxkZ2DJyiz
	 vzLnofK1fSGy1lwI8wy/bMZqRpG9yqdCwSrkRJkxC7mtNFiCv0mds2QYS8/OStZzWJdqT
	 vm6e9EvbjRHuZU4OrPMxGbHO+TDtxHzQ25kRL4RV8ht8xCcpGQDgEGhs3bVGJM9sMEQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=toke.dk;
	spf=pass smtp.mailfrom=toke.dk;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 83C33606A327;
	Mon, 19 Oct 2026 18:39:16 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=45.145.95.4
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792435155;
	b=ea7H6mNhjozJL7CePwWd0ykzY3zYIcJsPEMWyr9Lq4SWjKBHIWCe6mwVAHbfUIw8hNhC
	 i5mY4mC8xUh1o4bRg9gil4MtE0m63zxeXAy/Mw+ddSRA8Nu0pzkrRQDuzIotXutnnvKX+
	 YYpXy+lXuyR+FC5THLGlg2JIBOQbC14ZzqkGS55ywcXMXTPc85D08g9sUgQi6OXdhEYk+
	 RuL0/+u01YabiEVBPkHHYgl45YfQ6N81PUHWfq6ACv9y+qSa7mrXtDFS2LfGFbf5Egesv
	 gQd6rafMgJQYLAWhayJE+vrBhSvyAIqzETUlnzt+uyJYmT8Ku/1tT5ooXCuAIUMlRvw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792435155;
	h=DMARC-Filter:From:To:Cc:Subject:In-Reply-To:References:Date:
	 X-Clacks-Overhead:Message-ID:MIME-Version:Content-Type:
	 Content-Transfer-Encoding;
	bh=d8JfaRPpsKe/wkP2ws3S5i8V/OOGlLqrqKmRARIuRek=;
	b=JNW1McVMwjzY0XQDqEFguyE53layCsU7OIYuW6xQ/VWOUC/OgVI7Re4wKuoNRUmM52B+
	 foYQrlUyHQaVoUnIDQnVK5roemJcDHbquG6q95AxJ2Er2vRnkMnGvz8ce2L79Z1KqXRRQ
	 44MCMEqeCkHnuyEhJr+qAGmUlmAi754dlgtU2jyTC+ha8i1MBc7Xvaa1cmOdWKdgf4215
	 souBIcnZZ512KtVEfILK18ifROZwdCyPTjw4FpGIE137br6+xveOZqnidF5F0jz2DDuaF
	 gs8zEv1axmctDdQkYfE8t+caHp2co5t0V0Dwl9JCG860StmVkBx0Ltx8MnS4MoIbmxw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=toke.dk;
	spf=pass smtp.mailfrom=toke.dk;
	arc=none smtp.remote-ip=45.145.95.4
X-Received: from mail.toke.dk (mail.toke.dk [45.145.95.4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id A6C7C606A322
	for <netdev@vger.kernel.org>; Mon, 19 Oct 2026 18:39:14 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A6C7C606A322
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=toke.dk
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=toke.dk
X-Authentication-Results: mail.toke.dk; dkim=none
X-Cc: netdev@vger.kernel.org, Jiri Pirko <jiri@resnulli.us>, "David S .
 Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub
 Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Simon Horman
 <horms@kernel.org>, cake@lists.bufferbloat.net, Victor Nogueira
 <victor@mojatatu.com>, Sashiko <sashiko-bot@kernel.org>
X-In-Reply-To: <CAM0EoMnToUnKv9gSm=fxTj=t3BMXzu3=NDDFY3OvysnbdjCubw@mail.gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list