Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2452852rdb; Mon, 20 Nov 2023 11:07:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHcA0cpSFrIYba09Kqgok8T3iFTT8y8bN0pggWxV3t7XQtmu/sPdn0PRNgXENkYq38ZdzH/ X-Received: by 2002:a17:902:6b88:b0:1cc:2151:2b36 with SMTP id p8-20020a1709026b8800b001cc21512b36mr6135354plk.55.1700507271540; Mon, 20 Nov 2023 11:07:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700507271; cv=none; d=google.com; s=arc-20160816; b=EvVIL8k2emyeH0EWKnCTh3FOqT2GKtBAFgC1TfiIO1r4bZG4xBBVxJ1PCn3CzGVpN0 IbetO+ODAUyfnjlZr2UhE0MzGcOO3lE5Lbam2+PB6RyBAEALyx/VnrFcpr2osPhc3nFw BFM8hNsmGBDrPIyBkJepFN1/RsMbY4mRU5/ZpKuS2UOCMuXB4C8MsCe3NRShqLPsI1OS UiKp+1AQcewiKx0Cvc3ouYTf7NtEAwIddUIOFCdQUNJLzlCvBOZVWZFUgJbSkVAmbgH1 qVq+9jhNaq0b28m//uhJ4mmRTDuSlMvGKoGxTbNJDWBlTowRR+F5AmlVogIB0H3+Wvf5 ohpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=gXcc2SNMf9zNJPM+0hZ75826DR37Dijp5Jy5P2sVv/o=; fh=LJidurnGNVq48oZVjJO/AqB9HJtv6Yo/eW+lWlT48nY=; b=lmY+spRyA8GZ5PdurKolmc/gFVEpi4Rhoma8J0clsG74zI4RLu5C3xkv7TQxVsvI4a 2s9RQYIFjlYoWN1ONG+Mo75rB3isVZWyinkbdcaPMNVk1SnIFv0nLyNbx9l7o0ZZNXF6 x8rfqWqvfXeEnFSDLWaTe02tYkzO4mLFcexAjlDs4ixAju/+LWkNNL+BB8sveDVGGVvB 4/sltDSKMWqXrO5epNBMWLst17lOZhhlNYue2LmLnhVTYWGPgl6T3kKCuwTHy+J3qWTN ZJqyp1TcqDxESVPmaYXDdFjtPG9dwfSh0q6uGdqRVTnJ3l+KbLK9VlfQa9WRPsNdlORc wbUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JqeLKNnw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id u5-20020a170902e5c500b001cf677df8d1si1248971plf.453.2023.11.20.11.07.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 11:07:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JqeLKNnw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id E2EEE80530FC; Mon, 20 Nov 2023 11:07:48 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231656AbjKTTHm (ORCPT + 99 others); Mon, 20 Nov 2023 14:07:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229504AbjKTTHl (ORCPT ); Mon, 20 Nov 2023 14:07:41 -0500 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 564B2D9 for ; Mon, 20 Nov 2023 11:07:37 -0800 (PST) Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-5c186f027cfso2727551a12.3 for ; Mon, 20 Nov 2023 11:07:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700507257; x=1701112057; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=gXcc2SNMf9zNJPM+0hZ75826DR37Dijp5Jy5P2sVv/o=; b=JqeLKNnw3TjAHlLQ+uzEo2Bw6JQjC5CyT6YJ9vJGSDBhNwh7sW0wP4Z+2obnyxtPuS 0bK2/EwVJiMLgVrDeXOs6M18fVHYdeNgCFYurE4NBkOWRg1WRAvHKkJ48+Gb/BIh+je7 PlfeEKdEExSeyZwWF2KiKaxtTMkwg7By1B1+KVvAFzzDheTOeslL1DhoW4XjbB6RABg5 vKoli2MfyfqFMNnYeqUWOGmVTr3dgVJQwshZ5p3/jelpDBIwYtI9+7ypa8ToTn45DgST K2lewenD4TjahISVGmhMj1F6gV8NmSALCTotJMUyLUmIDtVlA3vkEZRIUJShuUVORTjG TMMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700507257; x=1701112057; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gXcc2SNMf9zNJPM+0hZ75826DR37Dijp5Jy5P2sVv/o=; b=cSZ1zN1aVKBYJX6YgjCl20PkRJHSq3dKhemaX5TBenHBu8mcoR/gYt/3jdrPssineM Ij8gBH0c4h6I/8LtsRqFTRHWvtoqCExDnrb799a5Su8rYqEtYuqEeUatTgCSj3QBggou eTo881zfEULosbaaxziM63MspHiH6yNzFXUz+4UbUCPYQOSX+hgxy3RLoCCsZYdXeBhU UGAf0JY5wl1Vh3oQLEtf5vfMbzF/tHFndjBTniRHV2wjs1LszbGJLJXXg00umAvuZewU RC80K37/MCHyd6T/Pv5EVCuV4Boh3AaeLaTq4gF4Ou4AF8TE7Q/fVsBUN96VY164BI0F F58g== X-Gm-Message-State: AOJu0Yxe0J9TBwZ5y1p5a4V6s0gqxs6GzUVQ4M56bPfp6x0vP02x2jW6 JiFskNxG2O8tKhcv6dTMNwU= X-Received: by 2002:a17:90b:1c0a:b0:280:fc91:ad5d with SMTP id oc10-20020a17090b1c0a00b00280fc91ad5dmr6132513pjb.19.1700507256612; Mon, 20 Nov 2023 11:07:36 -0800 (PST) Received: from localhost (dhcp-72-253-202-210.hawaiiantel.net. [72.253.202.210]) by smtp.gmail.com with ESMTPSA id d7-20020a17090abf8700b0027768125e24sm7770052pjs.39.2023.11.20.11.07.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 11:07:36 -0800 (PST) Sender: Tejun Heo Date: Mon, 20 Nov 2023 09:07:34 -1000 From: Tejun Heo To: Yong He Cc: jiangshanlai@gmail.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] workqueue: fix invalid cpu in kick_pool Message-ID: References: <20231120121623.119780-1-alexyonghe@tencent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231120121623.119780-1-alexyonghe@tencent.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 20 Nov 2023 11:07:49 -0800 (PST) Hello, On Mon, Nov 20, 2023 at 08:16:23PM +0800, Yong He wrote: > With incorrect unbound workqueue configurations, this may introduce kernel > panic, because cpumask_any_distribute() will not always return a valid cpu, > such as one set the 'isolcpus' and 'workqueue.unbound_cpus' into the same > cpuset, and this will make the @pool->attrs->__pod_cpumask an empty set, > then trigger panic like this: This shouldn't have happened. Can you share the configuration and the full dmesg? Let's fix the problem at the source. Thanks. -- tejun