From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (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 17D5B409635 for ; Tue, 19 May 2026 13:19:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779196746; cv=none; b=sWRx1c+UGb68iZD4tm7ZAHDNglfeC10V2xwZAwve3S+CszWZlsgU/5gfUIDvK0MBF1iGQggroa0SgZXQlLxdtN/mOli6uGGEKgcOxE/lTfAbpA70mpDLNx6FvA67940lB/Jtwy4NOueRg2Vk9qOk0Yz60fiefqio8KvVlVgF0iM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779196746; c=relaxed/simple; bh=bj1q/EztfJJU5GWMwa6IstXsS/eEjz5iuLTnwo0VwBo=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=necGQ81dYQ3K7HbwWPA4fXGCeByRUoyVT/sKJx7PNfUWUJfZDkHgjl/dBh+qHUhBQdrVH2rqJI1gJBjQcjlroM5i/KHnrvmB0EoSRxd7DlTiVRpRpM5T1Bkbz8IIeO+gkNs+AtscIC/6Jtpf/kpupzOe9oH2lN6ikHcoyBP2/L4= 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=f6CYuMXg; arc=none smtp.client-ip=209.85.208.171 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="f6CYuMXg" Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-38e7b0903cdso29176021fa.3 for ; Tue, 19 May 2026 06:19:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779196743; x=1779801543; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date:message-id:reply-to; bh=1VUcKWR6tSOqnS3x6S3T/ExY2OOAzTCVhWmP/IsAKgs=; b=f6CYuMXgPHr8n8DaXLizBBCHfw+cpmRb8SFfKSWdhBBtX9ZZtDBXy0GZCuTWScn3MB B+UQzIMlVO/EQqwVch++mrbu5ZMFOaMaDjG3rdVDluB/R54DG2TrS7LVn8oAjVbASPVi up8+ReYZLuPWynJt1YhZ4lxqSaOagx1bauvN6EwQErfuFBIZCWDSa1kGPCK7AzKgTgHy 3cThewQAlrKvYITiWuFazOeqxgalxZG5gufQ6zTcJRQBqQZZ6Swt8QHq1a8ckP+WFXcW kRnRKzzioTOJsTfkz16kx8PSNvTSsGy9R3b42LckJAIz834p9l4t+kPxqH626X/Pbd5o OmXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779196743; x=1779801543; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1VUcKWR6tSOqnS3x6S3T/ExY2OOAzTCVhWmP/IsAKgs=; b=XVa18ic3dCs6pXeyv8MC2psc9zqHz9AubGE6nz53ZVdYO/2bIDUGr76L9IZMPZXbDq GicSFJmk3w/oSkYMb9eXGq9utFs3/g2KfEpm6hnG42foWMxjLFz69tFOmyNmjddLwNYe jew/M8K+aZqDSykn31Caxzzucvj590U1t7YNt7JbyDdB6/Iiy6u4V4nmiPcBQGPfXpqK DR+UVDIi0LFqoGiQr/AfVECDqnpLthNCOPuQIo4sEJMgo3r4shLW6g4sywYBcb224LJu 3NGxpa+K9ZyJSoQBMNO+FePG92OpFUOm4XBXLBBlNxsH4Zyl0ZiW7EuNkVavkOW2+NT9 RIjA== X-Forwarded-Encrypted: i=1; AFNElJ+Gy9/gNu3joe8mtFqNRWprhP2A65/aK/HuWMVrR0x1HqlmRfaVeIzyD4wEfb7/xegLO0HA60JHun32948=@vger.kernel.org X-Gm-Message-State: AOJu0YwPGsZKhhhVYk/Oq4RNyvn0T7PFS4s7ekDw+Suml4/b8ha+xZsQ wVWpcBhjTCU6vLk05co2dVwpgqOODQ8pPgIeNH+PMTcLWquSuzMBPhkw X-Gm-Gg: Acq92OG63DXRhVEspxUKLwxZ03JIuJ469gGr7flGuIlmTe3j31ValxTXlgCkLKMKflt AYTQk2xMu9sxsV+nmH1yc7BPAZrvSW+qnIXki6xYOimOTJDgjzyFDiP/QXb6xPE/K8izUkZ6w3o gFhqBhdWGa1XbUcfDw+N3QiV+RrO2FFmp7VaQwAbyz0t3oGHyYuajHWxZeOXbpRVp26lmPbro6d BTf1m7/RDG4fBbDXEnZa9v+RPxhNVP67VIicUJa8NfxO2ZyVbqSneruT9EFCufzZ3MqMIjRAg4x 9l2NxiZPYKTWIA5GVwaQydzGbBJucszfGzJD4UpYAxqy+/kFowarCTq4g1OthWyUPPP6UOC6NoT mp0EAjpFe/BNzYZv1sboyuSneTlyb7IY+9nf5k5iPR9wCJFbU4oPfZgbYeQz4phVt X-Received: by 2002:a05:651c:555:b0:393:903c:2256 with SMTP id 38308e7fff4ca-39561faac30mr55035051fa.26.1779196742768; Tue, 19 May 2026 06:19:02 -0700 (PDT) Received: from milan ([2001:9b1:d5a0:a500::24b]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-3958827ec4csm19757351fa.4.2026.05.19.06.19.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2026 06:19:02 -0700 (PDT) From: Uladzislau Rezki X-Google-Original-From: Uladzislau Rezki Date: Tue, 19 May 2026 15:19:00 +0200 To: Boqun Feng Cc: Uladzislau Rezki , Thorsten Leemhuis , paulmck@kernel.org, Boqun Feng , Joel Fernandes , RCU , LKML , Vasily Gorbik , Frederic Weisbecker , Samir , Shrikanth Hegde , Tejun Heo , Linux kernel regressions list , Jiri Slaby Subject: Re: [PATCH -next v1 05/12] srcu: Don't queue workqueue handlers to never-online CPUs Message-ID: References: <20260511175448.153326-1-urezki@gmail.com> <20260511175448.153326-6-urezki@gmail.com> <3dd5cce0-51f9-4cf1-81b8-246e6c6a633a@paulmck-laptop> <53d546e4-8db0-4e14-a79d-270212081be7@leemhuis.info> 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 In-Reply-To: On Mon, May 18, 2026 at 12:30:08PM -0700, Boqun Feng wrote: > On Mon, May 18, 2026 at 07:05:36PM +0200, Uladzislau Rezki wrote: > > On Mon, May 18, 2026 at 09:13:46AM -0700, Boqun Feng wrote: > > > On Sun, May 17, 2026 at 09:11:10PM +0200, Thorsten Leemhuis wrote: > > > > On 5/17/26 20:03, Paul E. McKenney wrote: > > > > > On Sun, May 17, 2026 at 02:47:55PM +0200, Uladzislau Rezki wrote: > > > > >> On Wed, May 13, 2026 at 12:38:01PM +0200, Thorsten Leemhuis wrote: > > > > >>> On 5/11/26 19:54, Uladzislau Rezki (Sony) wrote: > > > > >>>> From: "Paul E. McKenney" > > > > >>>> > > > > >>>> While an srcu_struct structure is in the midst of switching from CPU-0 > > > > >>>> to all-CPUs state, it can attempt to invoke callbacks for CPUs that > > > > >>>> have never been online. Worse yet, it can attempt in invoke callbacks > > > > >>>> for CPUs that never will be online, even including imaginary CPUs not in > > > > >>>> cpu_possible_mask. This can cause hangs on s390, > > > > >>> > > > > >>> Uladzislau, Paul, according to the fixes tag below this change fixes a > > > > >>> change that went into 7.0-rc6 -- and apparently causes a "hang" on some > > > > >>> architectures. So shouldn't this be heading to mainline instead of > > > > >>> -next? Ideally with a stable tag to ensure backporting to 7.0.y, but > > > > >>> that is a separate decision? > > > > >>> > > > > > > FWIW, I'm happy to create an urgent PR to Linus with this fix. Since it > > > fixes a commit in the previous urgent fix PR from me. Ulad, let me know > > > if you want me to do it. > > > > > I do not mind :) So i can drop this patch! > > > > Alright, I created the fix branch at: > > https://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux.git/log/?h=fixes.v7.1 > > And I'm going to throw some tests on it. Will send the pull request > tomorrow. > Cool, then i drop this patch! -- Uladzislau Rezki