From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796298924; b=X+kR/8EIsXqAAKQFOfnCqCODrs3LbKYWFRmQq0dzwovA7PZOpA+urB+hnAnQP6Ef8rb3 c7pV0yCWRWyy5CnoTfah4K4QrKdhEvCIM4nP6SguCxcU+xBo3HwMrX+rJAdsVWkNIrOye r2oLer2EoXmbw8ydKqrf5yEFff47U+dmGvVYnfwUiNTDB5XMje/buvLTPiYV3flTa8aXB k5lmGc7qOapCUMKEh5sf64BVWJ/cT7pIzlhRHfDV6OJVCbx9wMrAQa3XuIQCb+S/m+JMs MD9ehNBbfu3pleKEJ1x+nrG22+EjnOBA+DRntRO/Qi9vRE34zoYGBa4WMVdxxMaHDuw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796298924; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received: X-Received:Received:Message-ID:Date:MIME-Version:User-Agent:Subject: To:Cc:References:Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=k/2Ecbu9rR82D4QfyfQm406AU/qadLjbRm2BAPNaShA=; b=paoWOCjO5fxY2PQaUBHlRvfc1uvyRFCHGdZSZz1Yn5AZtOcOL2d1WNkxOREquE7V2S34 aXTCLV+v+6hH0314dVuBHB0cduj5irB95XyRqTvQMx6DVEzOmUQIp67/RK7P9LFh6rDMt 9jn8100mV3yoeNt4Oj1JRnex2vXEC5GcEAVjtidXidAdxiu63S8WBLMXiz/e3vyrrWBDH pYFMy10fvDYSrckaImOPnQMLKrpJDaHtfleourMv5V6Zv4lKZ6wxMF+G8qzOodi3x+lOJ DeLDnIOg9blQTSpntUPkRwaT2gkBEBrPvUCC2RHPgNPYTx19QQlqMMlvx7bmOAG2R8w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=LbpgtuDv; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=Z0joWyNu; arc=none smtp.remote-ip=170.10.129.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 0CE75606A322 for ; Thu, 3 Dec 2026 11:55:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0CE75606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=LbpgtuDv; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=Z0joWyNu DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1796298923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k/2Ecbu9rR82D4QfyfQm406AU/qadLjbRm2BAPNaShA=; b=LbpgtuDvolJoAzoWkLJi92+EN/ajHSJKQdI6lo4KRS7RPS8QVXyRzvIdz20aU8NGfAt8Qb Q0X/S17OR8b+JtW/6LAEvKJQx2PYconnHR04qzQ9LcahNoy0VTq0vm10C+bIrKBKJ1F+d5 V8nPCT83V1QD73mVyrQ6f+BVQMiKz/k= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-687-YVqHwx8gPCCeVr3MTMOSwQ-1; Thu, 3 Dec 2026 11:55:21 +0000 X-MC-Unique: YVqHwx8gPCCeVr3MTMOSwQ-1 X-Mimecast-MFC-AGG-ID: YVqHwx8gPCCeVr3MTMOSwQ_1796298920 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-4d0ef152962so6507f8f.2 for ; Thu, 03 Dec 2026 03:55:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1796298920; x=1796903720; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=k/2Ecbu9rR82D4QfyfQm406AU/qadLjbRm2BAPNaShA=; b=Z0joWyNuUaTYgwcnYFzRJEkaeVBuzHD2jH6aCqMvhHKIXw/5THLrZn8fgKzqa6SevF YudFO+OA6gN9SCfjx7i+BH3/Fi1Th5XZEXaiVOH+IzH2m/4dinIJMImauT+tPMbrQ/yV cj6+MlMTXxPcTof+8V3TRMwMqIR708KvepJdapWqX+oFyVfsC6zpUerHzNECUjxyqktL 3+0XWpJ0Mzqssiii5cZX+EVRzxyDJW+gGCPx2Fv9Zb+9DIctPmjo6IbHB3CAPAFuW2JT lxKAQZXLk0SWg01hHjiC/mQzLQbobj2+NFZ7YrIQtqJwq2d0J7A7HwDEcy83voH1vS9Q QqzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796298920; x=1796903720; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=k/2Ecbu9rR82D4QfyfQm406AU/qadLjbRm2BAPNaShA=; b=kAKmUDS+ovxyxIJJ3KcvxzMRcwy4tNIJD04JTK79d/1RrC73YsKqQ/Gvq+bXB7EGzk OUJverrOQ9uw+tQiuf31DPZ21QE9ByAjIfBXgNbV/K9qmHLqRwUpzA5zAc/pD993BJQp 8hzoEStaOUWHJO0FlofCuO1NgS6yif0SCSLhbtr5l3QLhVzI4EQVkFC58LeGxXaprxJg auQ5aZUEKcejeq9iFz5o0QKTPHcAh3bfT4wnPBzsFtgkmnATf+rpvZQUGdBy81hdHM+u o6+tkwErcWLyJBxnSLxLa90tKKHrDFyduwozMd0gk4NMxKV0LjrK2wFY1ozGBfUTI0X3 s38g== X-Forwarded-Encrypted: i=1; AL+hErGdV/BbGC31r5CowSRTEjQ4qEXqMdPni30EyCsJCBPf91umKiVnarhFZHAudBfVyU7k0bOZXQqgDBAeMp4=@vger.kernel.org X-Gm-Message-State: APuU4Z/K0x0f3kQOOTR5d2Cpb2Cq/ahkMSvgEThkG5h8cQNQfidq2Sd3 iTX8efaNu/JrwX3n+lyxlZyt3akWSBeMbYpfYYNE/+Jf/vdw+++pBN3os5lYAmxzbDXsTfemdT7 DHxXa+ZwTrYB4kNyNu9HZyZkOx1+wG9VFGBMx5HiYKrxF8jOPS82r/m/+RieT2HpNcA== X-Gm-Gg: AZFdTZfEFTpM258/8AuwYEknzLpRAHzr8NtlCNgQEctipoeXM0XcvZrTq2ifN/RO/P5 WGq09hJ/bthIo7yOCgptPxFUJQpF8efPHIqzhF8yNZOnHUhLMoigTSwQfVdM7v/mpQOZmlLmRYE +G+5Lxn3p+kXAQ4DpL4zEBGvABa07s50anOgheYlLVzqzF8cUk6bv2lYZiBWbpep0rEu1LrhjG4 rqPyd465guvic0EhDuPiuFZwEzJ5ePY8s61FgGeucOiyEKWoq0mQk/PmISvhTIb9JOHSsW/vVwL 3oGSPZNXcBbV/NNxgttlHAIefglxovsmfk6ynUPzzreNNs1czUEcWYeEHzA+VredOuy0SpZJWyN uCBGfvhRQVb4BeMg9sX+KYtts7Tjps4M3JhjdPgHf52qvpOc1nF2O48+bH3CA/UgpM2j1i3+Ho7 N96VoXkIrbPHMCXesP1uegnwcGV4nJvX9IyVFbh9jr9iw= X-Received: by 2002:adf:e010:0:20b0:4a8:647c:f965 with SMTP id ffacd0b85a97d-4abb348dae1mr62692943f8f.41.1796298920101; Thu, 03 Dec 2026 03:55:20 -0800 (PST) X-Received: by 2002:adf:e010:0:20b0:4a8:647c:f965 with SMTP id ffacd0b85a97d-4abb348dae1mr62692911f8f.41.1796298919654; Thu, 03 Dec 2026 03:55:19 -0800 (PST) Received: from [192.168.88.30] (ip231-128-192-82.pool-bba.aruba.it. [82.192.128.231]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6b10b5f6sm78164029f8f.34.2026.12.03.03.55.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Dec 2026 03:55:19 -0800 (PST) Message-ID: <6b264883-3a37-490b-bb3e-bcd0e061fcb8@redhat.com> Date: Thu, 3 Dec 2026 12:55:18 +0100 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 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net v3 0/2] net/sched: serialize qdisc timers and defer SFQ rehashing To: Kyle Zeng , netdev@vger.kernel.org Cc: jhs@mojatatu.com, jiri@resnulli.us, kuba@kernel.org, edumazet@kernel.org, horms@kernel.org, linux-kernel@vger.kernel.org References: <20261110044450.51921-1-kylebot@openai.com> Content-Language: en-US From: Paolo Abeni In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/24/26 18:38, Kyle Zeng wrote: > This series retains the v2 timer/reset fix and adds one focused SFQ > change for the detached-timer accounting issue identified in review. > > Patch 1 has the same source changes as v2. Patch 2 moves periodic SFQ > hash perturbation to enqueue, where the key change and rehash run under > the packet-path lock. This prevents the autonomous timer from walking > the live device's ancestor handles after its own hierarchy is detached. > > The separate HTB queue-association and offloaded-leaf purge findings > remain follow-up work. This revision does not claim to fix those paths. > > The original PoC caused SFQ memory corruption on an unchanged kernel. > A separate unchanged-kernel QEMU run reproduced the detached-SFQ warning > in qdisc_tree_reduce_backlog(). > > Changes in v3: > - Retain v2 as patch 1, with its code unchanged. > - Add the SFQ-only detached-timer fix as patch 2. > - Preserve the first perturbation interval and use deferred skb freeing. You must post new revision in new threads, otherwise our tools will get fouled in multiple ways. You need to re-submit. Also patch 2 looks too invasive for net/stable, any additional effort to shrink the diffstat would be appreciated. /P