Received: by 2002:ab2:6486:0:b0:1ef:eae8:a797 with SMTP id de6csp685474lqb; Sun, 17 Mar 2024 02:05:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWPrYcTLRXHNms1d3sEDVdkh1ELgBmC680HRnqZxqswbaU5jCc67WW12OXKQOyyKuWa+wF8CHvxw1PhgHWrDy8cRfeP5HwNfx7YcTbR8w== X-Google-Smtp-Source: AGHT+IEkWoT8NdM7klTG7R5yBZ9C+j7y2yWDYzuoMGC+EYjm4wl48ReS/dnjNu9bLZ8vBre+Y7S1 X-Received: by 2002:a17:906:7b54:b0:a45:373:d0a with SMTP id n20-20020a1709067b5400b00a4503730d0amr6616716ejo.32.1710666304462; Sun, 17 Mar 2024 02:05:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710666304; cv=pass; d=google.com; s=arc-20160816; b=lFrGOrI03ymj9KUgBzVOjci4PRd4pkiWCruT76AG30WADBi9YAJpJMTsM+W/T8xBxd 4Kb85uaOz9rq8NRDcm/BWgJLL7ov5COBUH1c2o8bP+XDWNqtvpF3EWB/hOPXrhpWbGGE 8ZchHRumgsO02RcfBx9k9qRsMiF066NHXpxICoceVH6IsZKw5/7LJz+rNSzFMcGwXyHs B6F5jU+E9WZPlEgMwN17do93HdLchUJ9+KLfO/YHTAwfc/xJbOWGxWZjbT8Qc+pJ9e23 1CF18jLvwShttBwgrP6ScafDfxxSMKsGhSw1yIoEnbYArPdzLzh+WhdcIVLEzeAK1HTm 9A6Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date:sender :dkim-signature; bh=H78NCuw5pO9iwByPeKAc/83sPk9MN9xm3bJoBDJ9yf4=; fh=6FrEg+VkTYfOjS7Ai+dwlP0NyF8AsEyCgOFvj1kBYnY=; b=bw0Tu3KNWy1A9mDtOjqOSS4oEaIbtS7wJ3XQYgEw6IWqKewNouGSgf2AdsEcOGr5H9 /CWz5Fq/vlNRKcsdmqgcJQKwFyY/dwpAONVyESrWc3PlWJpYOvJR4fGk/ruJ1wPgQRS1 SaG9m/3Rv0NOuiCnNxJkAXHBsCBuRCFPqvAgYP2bJyoD/8/xTYq9QkIJtgaMjetJthGS 02PyYt/VPiY1pdGkCcCY4PuoHKDXf6GaWtN3GjfByCjOYpE6uKH9zqr0l4o2dvcBgAfu j2WlzCNEv+MFpLHegi8Lqlg4RRngEwwDaHpHRcLmtL7wR4LRpXEfRRLJMy2gs4UE94Md 3NYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lRsT1pG2; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-105361-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105361-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dp21-20020a170906c15500b00a46a6762d7esi1232268ejc.539.2024.03.17.02.05.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 02:05:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-105361-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lRsT1pG2; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-105361-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105361-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0286E1F21506 for ; Sun, 17 Mar 2024 09:05:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B695114285; Sun, 17 Mar 2024 09:04:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lRsT1pG2" Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (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 4293A125C0 for ; Sun, 17 Mar 2024 09:04:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710666295; cv=none; b=NTOY6qZDELMVn9he+MrYz609gkzQoSn38O5VCIA12yltXiKFt4CciTDGWyJP4vlLXryZ6f3QX9lDw4DkZe0oyqpHDDYWCNKYOzwHMQaP/B8IXMSaEXb3M9K5hHzHSsCaknTArY302NJXkEQBPYtCRYzGdYNqwym/zs7hn2hgrZA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710666295; c=relaxed/simple; bh=3BVmMVrqxfeIeWv12FpMrgp2kLIK6rohodVbN6VxhLI=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=sJHYd2uY/UI3gfPntc0mtlvQAaWaS8ze6/fPAbLzBF5nPStiVYOubTuYJW2qUuiu0mkPpU+iGWQI4LeNhfvZKy5GE8yVSD1RjCS/xZJVU2mVVD+op6Q/sGYUv5sC4c0eZHT2aW49e3WUxRWGC5+XArC4qptPiIJp7kHf71mxZU8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=lRsT1pG2; arc=none smtp.client-ip=209.85.218.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a46a7b8e07fso111483966b.2 for ; Sun, 17 Mar 2024 02:04:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710666292; x=1711271092; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=H78NCuw5pO9iwByPeKAc/83sPk9MN9xm3bJoBDJ9yf4=; b=lRsT1pG25eJuJE62wk/F+xvvzavBGCjNJrH1y56sM/fcR8JMmqnFdPuhmcG/cLbMMM 728sw1ZLZfnlWhAzr/wyyzQ/s6zJNHEnByMOb8ikgIC1hf0//eS0BxGXAMJA3fVF+0IW Via5qxjJFx2VDD4k3nXWMzQxSdSp0otrg4PhkcLe6DQUWun84OeujLJ69D5vaoeRUGuP 5/NaK/q5nUatcr4EwXnMYqjxKItLHpIVJRwjLMGuYR8b+BUbMhp5KVzLikj+HF/ja6lh dhpT6J8/oGd7zFBo0eTi7m5+7Ceq2PIBcc93A6oD07FgAzN1cThGOZ47q1dFlWML3rKD IN3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710666292; x=1711271092; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=H78NCuw5pO9iwByPeKAc/83sPk9MN9xm3bJoBDJ9yf4=; b=b9ggz+i7kd/ELO8oHrYvnAmD25uZMq+EibbaAZUGPIVBpInfnVnlvTVazxDL8pR6iv ederLD3Lu6rNQUtfnKNmvbMJ7u18Kje5fKEgGEhD66h5q3NKYtKkMKgwvmkVTNPxwwtr TDgS+8ZHf7G5JTQcRaNnuqIfOWUoAZLCjyPbabl1tc5fN3qa9Jaup4VoD1guOBNpUlCd bLYoTscrt/itvtB/u+3GgMFEeSeeDmpLN83VN+eTJLVuKSCsXKMrJDv6IoFahRI9sU4z LsBiVo24meI9RKyIWaV3KimuzyWFlLooJdE0rNagGpahrdJfaFJyYuWFOKor68KMyPzc /LlA== X-Gm-Message-State: AOJu0YxC6cBbYQTNAKDNHrTccOCTy8cUx5vNOlSWOKeMR+0ZGYo2/OS7 qOKVSAhDsgiQcBJAbBU6EGBewCGl0I8M8RKlRlvpGCAsaZl2lvNCa5rCh7qvgMQ= X-Received: by 2002:a17:906:6d98:b0:a46:a81a:330f with SMTP id h24-20020a1709066d9800b00a46a81a330fmr1945561ejt.5.1710666292087; Sun, 17 Mar 2024 02:04:52 -0700 (PDT) Received: from gmail.com (195-38-112-2.pool.digikabel.hu. [195.38.112.2]) by smtp.gmail.com with ESMTPSA id u23-20020a1709064ad700b00a4479997b97sm3587656ejt.66.2024.03.17.02.04.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 02:04:51 -0700 (PDT) Sender: Ingo Molnar Date: Sun, 17 Mar 2024 10:04:49 +0100 From: Ingo Molnar To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Peter Zijlstra , Andrew Morton , Frederic Weisbecker Subject: [GIT PULL] timers fix Message-ID: 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=us-ascii Content-Disposition: inline Linus, Please pull the latest timers/urgent git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-2024-03-17 # HEAD: 4b6f4c5a67c07417bf29d896c76f513a4be07516 timer/migration: Remove buggy early return on deactivation Fix timer migration bug that can result in long bootup delays and other oddities. Thanks, Ingo ------------------> Frederic Weisbecker (1): timer/migration: Remove buggy early return on deactivation kernel/time/timer_migration.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/kernel/time/timer_migration.c b/kernel/time/timer_migration.c index 8f49b6b96dfd..611cd904f035 100644 --- a/kernel/time/timer_migration.c +++ b/kernel/time/timer_migration.c @@ -751,26 +751,6 @@ bool tmigr_update_events(struct tmigr_group *group, struct tmigr_group *child, first_childevt = evt = data->evt; - /* - * Walking the hierarchy is required in any case when a - * remote expiry was done before. This ensures to not lose - * already queued events in non active groups (see section - * "Required event and timerqueue update after a remote - * expiry" in the documentation at the top). - * - * The two call sites which are executed without a remote expiry - * before, are not prevented from propagating changes through - * the hierarchy by the return: - * - When entering this path by tmigr_new_timer(), @evt->ignore - * is never set. - * - tmigr_inactive_up() takes care of the propagation by - * itself and ignores the return value. But an immediate - * return is required because nothing has to be done in this - * level as the event could be ignored. - */ - if (evt->ignore && !remote) - return true; - raw_spin_lock(&group->lock); childstate.state = 0;