From nobody Sun Apr 5 13:12:19 2026 Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 23B9834DCD1 for ; Thu, 19 Feb 2026 17:13:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.195 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771521201; cv=none; b=VjavZxzX2SlsHF5rM94ad5WpniQ5SFaSoU81S4JEqMtDNi/DDbYybeV2p8HAWd8J4rHFBhqlJc0vsToRwLAL7gWrPLX9KwOJyS9xelC5oxY8JUYFXmDTeE+ytBAb6qqHg7QKeBb1V8km27tqwN0UCgZ4Svf8ft2/RV8K97Sw+z0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771521201; c=relaxed/simple; bh=BfuWtJpHFnoUxb8s7xJBVcBtioNVHYkElOeeOAD1d8Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=lQCTJc9Wr3p1SSewqSspSz3LApNsD6DGWzxZnSIz4oPoeL760d3h8W2J5DFLL4ErwSZZHFCGuQDBZaEyec0Q3z9DGDOyXJZidEQosswcLX0YAd32w8yhOLj8McWdG1HI5iq9vvJ8POVQi6ahNIFy8oXIgKjPgu1nPQjVNoj49Rs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=fhm5+CsQ; arc=none smtp.client-ip=209.85.210.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fhm5+CsQ" Received: by mail-pf1-f195.google.com with SMTP id d2e1a72fcca58-824a9348603so494454b3a.2 for ; Thu, 19 Feb 2026 09:13:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771521199; x=1772125999; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rGAsWoT0ij2AF8u7lzQ99aTp0zEqYgQwfONKoWXhuNs=; b=fhm5+CsQ011ZwA//aWYGTjUA62K/WCYqJGHfvR5IrgA+HqQl1FZ4ODO0vHZbYrTlwV 2gkScdkOKK8l7mVWYvqh+NTqDbwXtlQmwH2adQiMN+i1wY+9fieH/+JPHS/xOcahjOXL AC4w2y3vdDeoaYOhOquVEBH1CLyIVEirjBh00V+6tVt+yFW1ZJZb3zt6xl0QbNbVKNuV iIJ8wxqin1PbUtwrHQk0lxPQGd/GLYw0PEdO4EYwk590TNARvescSTIj6iUWkXk5BWQ1 S/yfU2ESOD1XlF9J07B8e+gdpMg9DbaxevNIC7KFaj3m0HFq+F+Ub65t0oq/gDtKaMe6 NMmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771521199; x=1772125999; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=rGAsWoT0ij2AF8u7lzQ99aTp0zEqYgQwfONKoWXhuNs=; b=Z6mMYqqak348sncS+VPjWuaWVJ8Y7ww8Wa+te8Gg9lC03GRHB0mIL5QwolVCz2tFaU Paw1kV7rc9QqTRehT6qxzyKy/HNdN+tWQWq5sr8uaNLK6i6anNLrXFLQYi1YkND0Ff0O xdJarCFSgSzMw/yaRvwuQeejPRP4krN8GZE8KB2cm3Q2iFu1N6vOE/1VjX7kdMCi+yye XAIekXXJDDiaYffTJLHKf3oHvGhwoPBlFuhF+LH8HtVa+bvAcj6X4N+vOHajkybdZC0f SxqsOyApnShliw/65Jy1FKKlqX6E/03P8gx5TUBvLlruBq3DzElce46k5lvvyYHX8wy7 yBYA== X-Forwarded-Encrypted: i=1; AJvYcCWfH4PFZy0yFT1hmWLvHtqsMydyoOzEN8cpTy08F/RbPQXAq0uRoR9F5tN+1WwEp82NzMKBN8ATIpre9EE=@vger.kernel.org X-Gm-Message-State: AOJu0YyQ4keTwm2EeU9QsPuR2rM9yHn4VlUWPgPjkNWy6Y9EWXgn9dl1 MhfUO6LnPU/OQeswNguuXFZmGqs5vpqCW2faBuc+TgZBtKh8JFHiyQFk X-Gm-Gg: AZuq6aKuSdlYivEi96OBXWE57OEb68EuNdaQNFF6HPlByoJxnZdS1SbWC3dkxtNgHei JQF9jnGevU36YeMgFyWMwCDJ3RRPNbzKpXyXM1dkoNchQtGb7OYFWQNh6uQOurfgulHtEkmTSmV FRiPi0L7931UgNW31MzMB+dOX+FFh0EVe5tXzk3WTlB0okkClH/joGYTe3Hp+gN+4LCIEePnw0N F/fyFGWC/2x7qcy4BUxkPjkW2/MRLX5vuz35k6pO3LmP8MtVZayd7MSNLi3eVi7I0BZsaZWf+dc PxvzKzYqUqjZWHw4NcMtVNtUJ/7JK3o5eiLW/EEYhOrH7FBtaFhrgGbD8Ug1rRN8aSkKtji4KQx 41uT7UoYH6tpYv4iPkoIIqN8c2MxrUTDFL0vsMo/LAfwjEwqg8WwwANhMq9eFNPlmT/U5jN9Y2k B5sw5h6tiz37at1MBv8g8piFoDY3rkJTPcpiE3lci6ENpImpoSucJvKWATMaoB X-Received: by 2002:a05:6a20:d81a:b0:366:14af:9bb4 with SMTP id adf61e73a8af0-3946c96fef3mr21545093637.62.1771521199469; Thu, 19 Feb 2026 09:13:19 -0800 (PST) Received: from name2965-Precision-7820-Tower.. ([121.185.236.165]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c6e532fa2e5sm15895002a12.26.2026.02.19.09.13.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Feb 2026 09:13:19 -0800 (PST) From: Jeongjun Park To: stable@vger.kernel.org Cc: gregkh@linuxfoundation.org, tglx@linutronix.de, Julia.Lawall@inria.fr, akpm@linux-foundation.org, anna-maria@linutronix.de, arnd@arndb.de, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux@roeck-us.net, luiz.dentz@gmail.com, marcel@holtmann.org, maz@kernel.org, peterz@infradead.org, rostedt@goodmis.org, sboyd@kernel.org, viresh.kumar@linaro.org, zouyipeng@huawei.com, aha310510@gmail.com, linux-staging@lists.linux.dev, Jacob Keller Subject: [PATCH 5.10.y 01/15] Documentation: Remove bogus claim about del_timer_sync() Date: Fri, 20 Feb 2026 02:12:56 +0900 Message-Id: <20260219171310.118170-2-aha310510@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260219171310.118170-1-aha310510@gmail.com> References: <20260219171310.118170-1-aha310510@gmail.com> 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="utf-8" Content-Transfer-Encoding: quoted-printable From: Thomas Gleixner [ Upstream commit b0b0aa5d858d4d2fe39a5e4486e0550e858108f6 ] del_timer_sync() does not return the number of times it tried to delete the timer which rearms itself. It's clearly documented: The function returns whether it has deactivated a pending timer or not. This part of the documentation is from 2003 where del_timer_sync() really returned the number of deletion attempts for unknown reasons. The code was rewritten in 2005, but the documentation was not updated. Signed-off-by: Thomas Gleixner Reviewed-by: Jacob Keller Reviewed-by: Anna-Maria Behnsen Link: https://lore.kernel.org/r/20221123201624.452282769@linutronix.de Signed-off-by: Jeongjun Park --- Documentation/kernel-hacking/locking.rst | 3 +-- Documentation/translations/it_IT/kernel-hacking/locking.rst | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Documentation/kernel-hacking/locking.rst b/Documentation/kerne= l-hacking/locking.rst index 6805ae6e86e6..b26e4a3a9b7e 100644 --- a/Documentation/kernel-hacking/locking.rst +++ b/Documentation/kernel-hacking/locking.rst @@ -1006,8 +1006,7 @@ Another common problem is deleting timers which resta= rt themselves (by calling add_timer() at the end of their timer function). Because this is a fairly common case which is prone to races, you should use del_timer_sync() (``include/linux/timer.h``) to -handle this case. It returns the number of times the timer had to be -deleted before we finally stopped it from adding itself back in. +handle this case. =20 Locking Speed =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D diff --git a/Documentation/translations/it_IT/kernel-hacking/locking.rst b/= Documentation/translations/it_IT/kernel-hacking/locking.rst index 51af37f2d621..eddfba806e13 100644 --- a/Documentation/translations/it_IT/kernel-hacking/locking.rst +++ b/Documentation/translations/it_IT/kernel-hacking/locking.rst @@ -1027,9 +1027,7 @@ Un altro problema =C3=A8 l'eliminazione dei temporizz= atori che si riavviano da soli (chiamando add_timer() alla fine della loro esecuzione). Dato che questo =C3=A8 un problema abbastanza comune con una propensione alle corse critiche, dovreste usare del_timer_sync() -(``include/linux/timer.h``) per gestire questo caso. Questa ritorna il -numero di volte che il temporizzatore =C3=A8 stato interrotto prima che -fosse in grado di fermarlo senza che si riavviasse. +(``include/linux/timer.h``) per gestire questo caso. =20 Velocit=C3=A0 della sincronizzazione =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D --