From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.224.71 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796050981; b=yrpzijrbt5MlwPr7yc4kDjIOpLEZmkk9rM8CcuL0Rb3z88fhSuR4UEKBJyhozewDKAVO MKdI1vEc3loKNesQ/QVwDl9Xn8QbcTbAAKuiuTE8Y75dJ0XXbYjFuyAMa7E4/H2v2CM8t 2rcJuTvdxaeuWqi8OWgXKgAyrMtzrr54dSGaqJGpw+80SOtEVRrCo/Lel3CNXIby29bZq hnsbj5crFgu/DKpo5Bz48myqOPAt7MunqWZWSP8EgX/8Pj2neEUQk2ljqMapW3oSI6Qki 5CmSSOzSPUk7b/ncT9OKSlWj67jkt8Yll1n8jJTJDmV5dgw34vIOCZ9SmzT+PPYHacQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796050981; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:Message-ID:Subject:From:To:Cc:Content-Type; bh=nmqp9LjyMDN8GSrlISVHP0LA4kMdLXM8zVEeMHBIocc=; b=wWCWJFOwGa2V4f+N+ty6z0i/XhOBqIdcYEN9HLcBGboj9NtzwKE/MVeelPBKLvHv6964 b8t6Y/Nz3G9HVBBCxoxHsaS9XGuTL6Q+N8p/3UhQFRui45deYv7I164q81IKGq89q6AqG Yufkb4rrvygE7TCDju6NnSyVLPacRv9pbPAkRXClh2pa2yMX9+NQA0X7qoUFmywLj2oxJ hBQ3Mm1EfoZNMc2pwqaYAznnowf/StNs0pA3cW5ZS6e2s5J2ZgI9sa2EreGHhWLOr2mXd ueNPjOM7IBqNgv9eTrPKticAd6hakg572XWRnaEDyxPP9REGMjAkGYRZ95Fb4RKhkiQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--willemb.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=DmUDD9oX; arc=none smtp.remote-ip=74.125.224.71 Received: from mail-yx1-f71.google.com (mail-yx1-f71.google.com [74.125.224.71]) (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 DA7C3606A320 for ; Mon, 30 Nov 2026 15:03:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org DA7C3606A320 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--willemb.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=DmUDD9oX Received: by mail-yx1-f71.google.com with SMTP id 956f58d0204a3-67bdee091feso11995337d50.3 for ; Mon, 30 Nov 2026 07:03:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1796050980; x=1796655780; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=nmqp9LjyMDN8GSrlISVHP0LA4kMdLXM8zVEeMHBIocc=; b=DmUDD9oXnqwLYIISN/VquOAd63f9ZMR3VcT8+kHtXCDx7M+Cluw2ov9m4ux1aNdXg9 WEt9TG7u7gxcny7xUK0lj5irLqEJ5w0MSOjYKN4il7D6bW+ZdcSEZVgfKt7Ag+Ov4KLa ZdfNEljsjFonngnq6ZtZMhSX0/sGI2BdYeO+sYctF3kR7pIZUrHhtoiPBObX1zOtJx/t 2GbUl13ci7PkwYBEzWouhcTwHQHh28WoWDZDQnpIafqH2N87PCRO8eRULVfwWla6R/E2 IZpQhPRg4iJRCli6XOFmsJi5oo88A+pCJPwd6KSuGzMQ5aOe+rE6sKJ2j6HoQYx+W5gs qggQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796050980; x=1796655780; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=nmqp9LjyMDN8GSrlISVHP0LA4kMdLXM8zVEeMHBIocc=; b=SrzMVDy6fcfdLjPygcVNY0rykLlk3Cow1b3eOhkNJgsqDOFdU8tL/HntIqU0u5e6dJ l3FfyQ5g2cb+PHIukscX4s/FMDE/bumYk/U5T1yY7FP0zq7Fji6HEE8AOYGUFZhAbOI0 7vNabpKlehtQlP4dev/GFeqYHV1DHxGidM5CZzDqpdhxxcAEgf9b8wtZCpOCE5ZZn0PX zdxn9LaqRYw+I8EgyOGrdIyYZ4haNlt555i2p/C9zmedif5WF1rfUsE5ubJewVFWpdVU Amtsm+f5Vq1Tgn1GiuivqVVoLsKHPtvuuRL1w4mnTpfnxRScOTVV8VjTBFLuGic8U2Ep FPcg== X-Forwarded-Encrypted: i=1; AL+hErF+QoRHu4cd8ofBCYQubBzfFb8WpELM5xi81wAKjZNF5+pFTftlV98Wws8OguFFlDM4/p0vC6Q8e+MiZBM=@vger.kernel.org X-Gm-Message-State: APuU4Z+zUQmidt82hzLyejHSNVxoKLqVjvCFR1/7T+2snjOBC351XUKE mUSKTyBGboPBgX7aMtX8tRYQFZ7gL7nW3PQ8RSN5G+H8Xtpl/nzraoBhl2ZhTbZ9JxvnCCfLamD bMdhWWFF+Jg== X-Received: from qvblf6.prod.google.com ([2002:a05:6214:2cc6:b0:91e:eeb4:c2da]) (user=willemb job=prod-delivery.src-stubby-dispatcher) by 2002:a05:690e:12cc:b0:67e:796c:b2ce with SMTP id 956f58d0204a3-67e796cb387mr2730030d50.162.1796050978749; Mon, 30 Nov 2026 07:02:58 -0800 (PST) Date: Mon, 30 Nov 2026 10:02:57 -0500 In-Reply-To: <20261123121513.2112743-1-mhm.dawod@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: <20261122064155.2094434-1-mhm.dawod@gmail.com> <20261123121513.2112743-1-mhm.dawod@gmail.com> Message-ID: Subject: Re: [PATCH net v2] net/sched: cbs: fix 32-bit overflow in transmission time estimate From: willemb@google.com To: Mohamed Dawod , netdev-bot+sashiko@kernel.org Cc: netdev@vger.kernel.org, vinicius.gomes@intel.com, jhs@mojatatu.com, jiri@resnulli.us, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, ye.zh-yuan@socionext.com, linux-kernel@vger.kernel.org, 163wangjack@gmail.com Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Mohamed Dawod wrote: > Thank you for the review. > I agree with the concern that my patch alone does not guarantee > idleslope-limited throughput on 32-bit kernels affected by the > signed/unsigned rate-conversion issue. > However, this is a separate issue that is already addressed by Jack > Wang's patch series: > [PATCH net v3] net/sched: cbs: perform rate conversions in signed 64-bit > arithmetic > https://lkml.iu.edu/2608.1/09680.html > My patch fixes the overflow in the transmission-time calculation in > cbs_dequeue_soft(), while Jack's patch fixes the rate conversions in > cbs_change() and cbs_set_port_rate(). > Both fixes are needed for correct software CBS operation on affected > 32-bit kernels. > I believe these changes should be integrated in the appropriate order, > with the rate-conversion fix applied before my patch, so that the > complete CBS functionality is restored. That patch was sent in August and evidently not applied. The most recent version still had feedback to address: https://lore.kernel.org/netdev/83a768c4-1200-4baa-bdc2-9d20960dc6d1@redhat.com/ If your patch must be applied after that, can you send a series that combines all the work. Or can the original author (Cc:ed) resubmit?