Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp299790lqh; Sat, 4 May 2024 01:39:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUhqDmBuk3ddjlqkKm8wzpD8U3s4dB1JQOkwXY+onXFetYot5q39HcH1BiD6CtsJdfBJQK3jHrmIrT9ZS6d9OM44mbyuYopI0krJ/BSWA== X-Google-Smtp-Source: AGHT+IHF/dBAQTitYaTWtCuBSTvb3+HWSwaLb8qWeltm0GuJSa7raUxs5Qqq6Pw0088OfahBDZ4a X-Received: by 2002:a9d:7cd2:0:b0:6ee:3de8:bbba with SMTP id r18-20020a9d7cd2000000b006ee3de8bbbamr5981371otn.8.1714811985778; Sat, 04 May 2024 01:39:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714811985; cv=pass; d=google.com; s=arc-20160816; b=Uwq3lIAoEocZfkVPru9qGN15caF0ONOEWZPcL5BVaLZXwNGKrIY6azD3NvtaYKPhQr cRCmVw3opT4GqtB136HzedJWCxjNoz2Cn1NJBhLkwJR5gLG0lXJSflOjJ7w8kNfwluOY cyncn1C5oNkpZITF8thx4XAO6tHWD4vhfVWWY2uajtGVS7mYp0WskiVo3XIZgYFsGoVT yWF1jsElVeb8gO5fgx2bJgBr+V7hmWMBQ0R1bxbJH6ooR1KOILvN5Gg++E/zN4kYR+51 7LV5Tz5X42J1pBDfEhBi09q4zApbB5QmcL0VdFG/l6QwMHf+pJ+2WgDS0ApTLdqDfDGE T6XA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=A0t5CPQQsxj2vgCF+u2Twafxclh98sEiPLbitj8vQ18=; fh=rACDNp0GxrweH5txA7TOrsqxB1VmwR/kEWbnESPkTPI=; b=eRi6NdcskdJWV+IPQGy+5/qjIS4mj3jo+sXILcRZkt2u+REQHLEB9Lx7m1uyEnNl2+ NQGuMFIotdg6uaxTLjuSYhdO7ecTXoYOCShVa3lqzysCFTJ04cxxwXBGyNRCBdC+pXrZ oWq4EnCBLNbQP0cNSXJRrM2F/NRhhxIrwyS9Kbb+pwgo1Vo+KH1q+2o1am98nBVQ6g9O gZIg0ntPsphCfiDtQSiqpd5nzWQxemJGkLAQNfapAQruik/ktBk5Ahxs4H+97Jy0cv/o aUV92q2fSn6DMYA8p7eAJEAVH6V0mPBWwq7df2+kPnP6sZ1qGfJC7tqjdhMPtnD1ooxl JJ7w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=XgnpODUi; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-168556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v2-20020a63b642000000b006229867b8bfsi52512pgt.509.2024.05.04.01.39.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 01:39:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=XgnpODUi; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-168556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 45351282FB2 for ; Sat, 4 May 2024 08:39:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B2FA412E55; Sat, 4 May 2024 08:39:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="XgnpODUi" Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 6C79211C83 for ; Sat, 4 May 2024 08:39:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714811979; cv=none; b=KB3Yh7W3ZBJIetFOe02ShFgqx3RP8i4PYgki8XJpYatkX64Y8nvX/znImx9YYevvp2WRbJ3gqdiRQyppEF95ajUyhANrxCLlaJUIOBmhXNHJ5iWBXH4Vs0QKo1YvD3bCB+n7yU5YFhBvRQuOcmgB9FAEdkiA1c6NEP8bJ20Z774= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714811979; c=relaxed/simple; bh=pS9GUyr/Rb4KQ2oCmIUticmklLFBQYHkSGp5cW0WkQM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=NwOClsh7K11DaVBYWDkvGb2fN/A2IWkOgzhvU3mAP4YGfF/BoFGYR89LuBsA1gsg3Z1VsyfP7Yc9mNUxQathtSBBGrUc77UPFaQgxcGEpwOQASG2wrFn6VhvpdvYcmPRnONvM39g7BYlC9kvG79L0qeooKPsHsd3YOEl9wqIIjg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=XgnpODUi; arc=none smtp.client-ip=209.85.128.52 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=google.com Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-418820e6effso21955e9.0 for ; Sat, 04 May 2024 01:39:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1714811977; x=1715416777; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=A0t5CPQQsxj2vgCF+u2Twafxclh98sEiPLbitj8vQ18=; b=XgnpODUiCeKl4XODAAL1QxNO1WrnW/Mxf2KX1YFKFaWLQ6WHQsRlm2ixgSoyEJnkTp GNudod9jl99+Yh79ZqKwUrX2m5mhChkUXbwpD2DlXAUD0GyxdmhpRa6rMckrn4R8QyQJ wYz0aZeiFCSATLqwBXRKLVHB0mL1SHkxMUjxnJEpuEUSV+3fKPithK3YyynYON8UBJ5J jZ9kY3z9AvKp1x/TOEsIHRBR5XngCfC1Pr+EGd2YmXLY09cgHkUARG7W8XXDeBZomIw1 JaqXiLPjm7oGHfq5AzGw/5u5MgpwiO762DmN18V6MeBxJPKwxh91u39NLeCHLq/ZpK+F SFlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714811977; x=1715416777; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=A0t5CPQQsxj2vgCF+u2Twafxclh98sEiPLbitj8vQ18=; b=VIyUswmu9b2kGdrutdKKuWNR+/Bg2SK/fn/IdfYQbrnemj6t8oXROlzs/jYMtvCXc9 gCdtlwwlIfSoRgz63Ea+9BSGcpsAS5MgS46+IB9fatdwVbH5iWXY3gtPG6ye88l7Gc+Z t84Q8XkeWyFJyyRC0DuqUxwKtdA+Xn2SGxkufgiR6yOecolLF7OFJFGojp+cVHidqlut xNS/QSyPOlRZiYCUhS4IgWvWXXgxwQwdO4vywmpbPu4Q40PNqhsXBQ5aK7Ljm8Xv095f Qh2wSZNT3zxfRe5hjUNukQUBZizr/XqjK59NGu60XNKyThdcCLrQ928VHnQeJGglp0+7 gSyQ== X-Forwarded-Encrypted: i=1; AJvYcCUfOdBxA9FnIR1tqfOSykPZrxQHYhy4hnu/Yo05cHvhn4RfMjobdRqB4XRlcoMZvd9SUtjU0f82m3zsz6smX7ZbMbQyJ1XHBJuIYOlY X-Gm-Message-State: AOJu0YxlLKI7/ArN36Oh6K3zzbe/V1aiIPSaweTTxTlnCrhe2+W7ua9n oCG4T/fWCjhke8Wtbp5exm7ExXmVhW/A3X1c4jMtpXmaQK/u5zF6JdlbqwirOaXs171cBbKFXRb ulObB/u0YhWeRv6hrKYb957wuQbvNddWGNNM= X-Received: by 2002:a05:600c:1c24:b0:41b:8715:1158 with SMTP id 5b1f17b1804b1-41e5a4eb27emr1125985e9.6.1714811976712; Sat, 04 May 2024 01:39:36 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: John Stultz Date: Sat, 4 May 2024 01:39:23 -0700 Message-ID: Subject: Re: WW_MUTEX_SELFTEST hangs w/ 6.9-rc workqueue changes To: Tejun Heo Cc: Lai Jiangshan , Will Deacon , Ingo Molnar , Peter Zijlstra , LKML , kernel-team@android.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, May 3, 2024 at 7:47=E2=80=AFPM Tejun Heo wrote: > On Fri, May 03, 2024 at 06:01:49PM -0700, John Stultz wrote: > > Hey All, > > In doing some local testing, I noticed I've started to see boot > > stalls with CONFIG_WW_MUTEX_SELFTEST with 6.9-rc on a 64cpu qemu > > environment. > > > > I've bisected the problem down to: > > 5797b1c18919 (workqueue: Implement system-wide nr_active enforcement > > for unbound workqueues) > > + the fix needed for that change: > > 15930da42f89 (workqueue: Don't call cpumask_test_cpu() with -1 CPU > > in wq_update_node_max_active()) > > This should be fixed by d40f92020c7a ("workqueue: The default node_nr_act= ive > should have its max set to max_active"). Can you please confirm the fix? Ah! Thank you, that does resolve the issue! > Thanks and sorry about the hassle. Thanks so much for the quick response (can't beat a fix already in the tree= !) -john