🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5162

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

#5162
From: Jamal Hadi Salim
Date: Mon, 19 Oct 2026 21:39
61 lines
14277 bytes
On Mon, Oct 19, 2026 at 2:39 PM Toke Høiland-Jørgensen <toke@toke.dk> wrote:
>
> 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) :)

Sigh. You are correct - too many patches in flight (in this case both
were 4 patch series and had "cake" in the subject).
Sorry Björn - i will send with your suggestions in place (I notice
that both sashikos have responded and bizare with all their
bikeshedding skills they both missed reverse xmas;->)

cheers,
jamal

> -Toke
Technical Details
Message-ID: <CAM0EoMm-uaKGGtvGLYiq_b22d+CNq4zFOD--y5hQ34tdnzv3rw@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348864-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> <87ld7twn5c.fsf@toke.dk>

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-348864-linux-kernel-netdev=dewy.ru
From: jhs@mojatatu.com (Jamal Hadi Salim)
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 17:39:03 -0400
Organization: Usenet Network
Message-ID: <CAM0EoMm-uaKGGtvGLYiq_b22d+CNq4zFOD--y5hQ34tdnzv3rw@mail.gmail.com>
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> <87ld7twn5c.fsf@toke.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="3720433"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:WHC/mjlNrvKP1e+D8r9A1cDmiAU= sha256:dtJ7+twIlqDliUEx4kvfbjebOg2WH8kaINzE24GSUkU=
	sha1:SsiM613gNdFYVA8bX+/ANbgtnis= sha256:ITX2/dhNiI3ufwPaZplTfOIaFWbv5MpNAda8D4qq9YE=
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 2660A110B4F; Tue, 20 Oct 2026 00:44:19 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.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-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=mojatatu.com
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 H-ao2gtkp6nX;
	Tue, 20 Oct 2026 00:44:16 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-348864-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=mojatatu.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 35FC7110B4C; Tue, 20 Oct 2026 00:44:07 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 628D93FB1D; Mon, 19 Oct 2026 21:39:19 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792445956;
	b=VolbYK6d9bqkwL3TK1VZkaHVwt5Hz5ua3Qv1rt3KRQ5aPYBnpIEdnFJCJk6gkEar7cOt
	 9GuOiq84UWpImGH0D478NZFeaAxW9998xOcLHVakgG3HIVOmjMi22qFgP3heXG3aUzDus
	 GJsBRr44VJxlNNtfL20VCJWqCo36z5JfxI2xuLOIVFMuV27EIILzPzaO3AKNH0NlovRfD
	 L8RinJcZ4KZxgnkgt5C7HF6MWRU1pMIrlKs2PXJp8wXa8IzNKdcITrX/5upO2irnEmvfo
	 95H/f8GCUskdJmenn0MqI2EWia0MOSJ2YxTQcm5mYNCDr8gFx2G39OfLlY97ZvJI8Dg==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792445956;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
	 X-Gm-Gg:X-Received:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 References:In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:
	 Cc:Content-Type:Content-Transfer-Encoding;
	bh=YdIEvH0szPm2mof3XdeDVOIQnMVjdWNpvjqDvVaEY5o=;
	b=1eRyUm39R047zsOgliFDbzaZWoTI6TKD1VNkuCyYiyRoJCPLhbfNKibbNa4IMzApaVc8
	 rcrWVEHBGV7C43xY9YpwSSLczID9zrr3HKIhOic92jegAWyltNBEh96KKrWh3jpCTnuR6
	 HhC31L/4P7XqxHjVzO9C0PoBCk6jGcoaJ9ifWMnj0tqKwpzlFSje4PgqWM751YBuAF9qu
	 jsG4i5uYzzqAb++Xwv7xnUb0JFYZpnPSweSFLO+pvaAmaATZL5m5iGS/Z4wmbvaxWKMZ2
	 l1YoA+hZEJYGRGaHE68kPXll3/gf5OL/DSiLaYw6uYIohu6ilNL/aktqWI2+AeSsDsg==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=mojatatu.com header.i=@mojatatu.com header.a=rsa-sha256 header.s=google header.b=Ix4y531f;
	dmarc=none header.from=mojatatu.com;
	spf=none smtp.mailfrom=mojatatu.com;
	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 98C70606A330;
	Mon, 19 Oct 2026 21:39:16 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=mojatatu.com header.i=@mojatatu.com header.a=rsa-sha256 header.s=google header.b=Ix4y531f
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.210.175
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792445955;
	b=h3IC4297YwkABgk8VscQNThtaf9WQc06qCoxsiAt/OqpwXVR6laq2HMNnb6xnyPr4/K8
	 WxdeX4ThV7vWXh8Dcmt2U/5mYHUp+pDoMyanpSbG3rEL+Y58MgNRJwYPu5QVlDDFkPR6P
	 WfkBKWP1TmqcfHXq2j6whRc+bYqf9j2jz8xlwxo6IYVkzdONlcV1WOZzSWUETAjqPk1lP
	 0PlaRQkz7Nai1Kmrx2JhklyiI0wyuQBs/g+s0XeGGmaf6limHbqHnVs0tb2W2g4QxgmYP
	 1aLaG5sDFCoSplBXXs6J4v9vnoFCoX+hzRK+zAGKNoNbn8FWCiZnLs1+jsWrlfjdoxA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792445955;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 MIME-Version:References:In-Reply-To:From:Date:X-Gm-Features:
	 Message-ID:Subject:To:Cc:Content-Type:Content-Transfer-Encoding;
	bh=YdIEvH0szPm2mof3XdeDVOIQnMVjdWNpvjqDvVaEY5o=;
	b=DOLrEE6d/5Fg7Raq7BxXFouNVq6ZHwfNUolW0tpMJ6vxFc6czGg8xUlMjFDtQf8kYk/I
	 UTsyOBGnWza+2ZQnaGnLVODqf3WwvDAJ/5fqHfNY4g3rPCsYDG5UC9Cv/Q9gZJgLzNgj0
	 9Od/8+EHagtssmJcIkM3M1eVn1317cw4cpVuprZeKDXNoEeWtcAqHZum3uJTfVO02UiT0
	 VF+NCuJxGtDoxLMHNsDuWvaUtGpy8nwTnGsnzUOpH7nNRVR+R4ng7v2N5lmNCzZu1ZvqO
	 SjmXPqkbH+x52Lp0GM7PDr/h6+PxR95SY6ib1tlLfa80hopASlBQGpT4JxdU/vwIpVQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=none header.from=mojatatu.com;
	spf=none smtp.mailfrom=mojatatu.com;
	dkim=pass header.d=mojatatu.com header.i=@mojatatu.com header.a=rsa-sha256 header.s=google header.b=Ix4y531f;
	arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.210.175
X-Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5FE43606A31E
	for <netdev@vger.kernel.org>; Mon, 19 Oct 2026 21:39:15 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5FE43606A31E
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=mojatatu.com
X-Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-89f28c3ac7bso794055b3a.0
        for <netdev@vger.kernel.org>; Mon, 19 Oct 2026 14:39:15 -0700 (PDT)
X-ARC-Seal: i=1; a=rsa-sha256; t=1792445955; cv=none;
        d=google.com; s=arc-20260327;
        b=k1DM/TOXpn30XosvGe/L8e2kBJzEUFrzInkyPsTlbFEuOLLIZpcoC8HGsOTtwRfZfh
         DleLFa+xk6mIQvb86RjXunk0mkKtDbK2kU09jecHvd4Pp1dKk+PBFbxf1h+c03bVtkYg
         iTZyo0M3lkB7q2ktqwMFo4BvChP8ufuRBqvimEmjuLWJ2W4bQm6831YI62CgQWhOvOB9
         kk6GkMIWSYUkPpFq7xVZqoHVArwkr14I7Wj2ylXAgOwwKfMo2SFzy95mtzWkF656kF1l
         BLdRyPULPV/VT7iWsmWnmxEnQcvNQJi8xkbsXWBYRu5ihQ6sewiIZr5LvxUvSGGAxxvC
         XYlw==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:dkim-signature;
        bh=YdIEvH0szPm2mof3XdeDVOIQnMVjdWNpvjqDvVaEY5o=;
        fh=G5bKGl6+lfI/PxYHu3+KEOMWWD1aYkUh794QPz27BSU=;
        b=i/WUvow2KT56APqIpzEHrk+qhf6scYCpvqM7ZeeRK2vHjgWT4EGBOL2KPzAcxUWqt9
         Hh3BZ3XLOrq1dIpw9t/uLg9TK+SWSCXFtFKQ9uJHJWy7VAjJHmoNGRjHmfIdR5W6yJtR
         B5SlKyFhpk5CGNuQE9I8qLzHhbsKeVtK2dWNFcWk+DXVrX4yKC1gRXR6/HRtV8tI3dh+
         RyDdEci9zVnbcW/zzwWhRwzz2rSQ8eOlWj8rI8yjCrbeNGgoyD1ZKtx11JNxXse5MW4x
         Kd9Pnf5FtykWpHAbAm9IdZ2zS7wYoBltwOmrlU+FeoKwvBPt+HZJh6ZRORRCalQxvo60
         AY7g==;
        darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=mojatatu.com; s=google; t=1792445955; x=1793050755; darn=vger.kernel.org;
        h=content-transfer-encoding:content-type:cc:to:subject:message-id
         :date:from:in-reply-to:references:mime-version:from:to:cc:subject
         :date:message-id:reply-to:content-type;
        bh=YdIEvH0szPm2mof3XdeDVOIQnMVjdWNpvjqDvVaEY5o=;
        b=Ix4y531fFH2LRlzr/qt2r0tTWy4UHbamabwB9nfj8hHvVXao3uSnn5SqW/tE891e22
         ythou1cf5/KMlbs8XQeUkONh0fWtFAJphjqWOaUppfK66qrnpkh/2teQO1jlVkRXWFVq
         63rdr5cDPba4k6d8nrX2MUtbx65RiHeQ3dzjU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1792445955; x=1793050755;
        h=content-transfer-encoding:content-type:cc:to:subject:message-id
         :date:from:in-reply-to:references:mime-version:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=YdIEvH0szPm2mof3XdeDVOIQnMVjdWNpvjqDvVaEY5o=;
        b=D6r9d+GjNZg8ROMcf2gmLnjNR+pTx+N23C4w9vnOWypd9+Ae3PhrdqesP6XcUYrELd
         ahMC40SfZmVyCsF9vwPuRJNUzDEHMppiYfeJNSOcBiai+scD/42icTPDOpntWVkjYxv6
         6iVNb+KGfJwYXmf+pJ1P8Yqloc9NcAXlcNY1RdLC4xfO4wEhuICwfyrqpWxo6Ih7lUHU
         1Hl8bM2BpGlGTnMM4t4P+a8WB/LzwzO/zThgb1i7WylxR6hW41bdI77E9ANniEeizDdf
         gjcbx7Avko2W+z6ggsJ9qGf2+2LL/eNpObe4EWyFJK3TOxcYBZu8hWD89Qt2zOzOBD8Q
         R3CQ==
X-Forwarded-Encrypted: i=1; AKwUvBwSAxgcf3hAMHKvgp0SV/XVlgL/JxPqQL+dIn+uor/TobmXq0OSdsXPawQ0EVcetwdDVnY+BGo=@vger.kernel.org
X-Gm-Message-State: AFq9FYImI3Ef2gCeIBCwY2POIMb+89qaU4LCJ18D9G/h+S/YiSxxPBF9
	eku7l7a3ctWbAN7NXvvVBuaSP3e9k5Bg1oiarIpjxll+BVLWTIEDl/wKvgDCsXlv+D3piWsZvw7
	n8PvZczCos6cRZIEk0H79m5dDV/TNOVQDVL7taQ06
X-Gm-Gg: AYBFou05sJ+MIev1MpFCfm0JwWaq7EtzitxL1qeBaOrWaGht40eLjZw1lUxRSXCQLuv
	4sE7YNzVaADiNjASyhVOhSmy0A6KLHfvHgb7YfTxxN218B/SLWH3k1LZchTV5UWzwt2qCiWB+B5
	8HpFxp2Ii5E329vyyvAViQMPhUrWyRil5g+Z5TDdRrZ7MUgk9oOrzOrZaimfEZTVzZzmO/l96x/
	aPAD2ovwQAQpeuN85aPRT1dY8dW9ZYyfSXLG1ZpuZKxKHZ7HDAXpO9DLoaWT93E6h1plyeDgP7X
	F0EaBw/WDJ/Tb57DVKgO/Hq37RBNaP6dFBiJc5sY/32Sr2zd+IcUHak0MVlNvOYZInyiSo27i1v
	6WdyGxJtqUJvUbGasODPjPfDDJSR6XhiCHBNTbkKBBzyx
X-Received: by 2002:a05:6a00:408c:b0:89e:2154:befe with SMTP id
 d2e1a72fcca58-8a04aa2a249mr6685409b3a.8.1792445954768; Mon, 19 Oct 2026
 14:39:14 -0700 (PDT)
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
X-In-Reply-To: <87ld7twn5c.fsf@toke.dk>
X-Gm-Features: AclHuK_v_qThEpQTS0k4SvxRYLmwbCwYIgn59ELw6lEuRTWz8aDuR5OJLtdOoCA
X-Cc: Björn Töpel <bjorn@kernel.org>, 
	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>