Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp47605pxm; Tue, 22 Feb 2022 16:19:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnh+AFVy4tp3NXLbWdFvfY19zZkSb7huaflWMI5B8fDS4wO+fOhPEofrIjkvqIO1T2YZAZ X-Received: by 2002:a63:e215:0:b0:373:9dd6:4b99 with SMTP id q21-20020a63e215000000b003739dd64b99mr21330384pgh.561.1645575576074; Tue, 22 Feb 2022 16:19:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645575576; cv=none; d=google.com; s=arc-20160816; b=swmdI25ZgdDs4hFDA26OS5dhwaC7QCuChQrxyjzEDQc/NAd8KqopG6oNcoEbK39qWL PBRAlAadQwY/B+SX7S6+sZFhYctQkYCsswasmRz4fLxxXkWoOpO/VUCjHkA2Jbu5K3Gk JOtDS1d9WNrT8p1JH+j4tc6jkeO4PmsyOIq/+yyfptPXDfoqLGd72T9+74LKfJ/uT7DD bytXMKQYwvUNYL1qfWJOBCzs4QZvpFQc15WsQj10kHCoNlLpBtBCsElC5Hutg02GRgSZ vJcnEqiTdWX/3MRnRvRVmGWF5dSbCp05syDKGNQGdrIn2cQI/6bk+7Gnez21pX0981HB oWHA== 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=vh3CaiCMI4LYCw7gOppCXTcSJXSh9VoQ9nFVl2kwI0Q=; b=SRUfdmiJxlArvvbjSc/TJkqTnJ0qZdecHHT/dgNs9qpMAjO6asFl3OnyC7gI20pksY 39LKRHlpUjoyRZpnRKMgHTQw+AeyWTFLkTG6vOaJq88CtqKjYLj8BsyIYUe1Xld8rQ3w PkVjcOu2nJyMHjoYLpach5IX77+bbDPkjeX1mXMTnFq08iv/uAy2VMoBMXWhRDjBDwkF eHgEs7vfZGkH8ZxNUNMQQPPldaVCdQI0VARnZxImRLHWZB54gCQIT+nkMf/UYs207pim 39subcmjH1qFZ8T5rNI0TvX0gbgcBq8Reu1oeodtoFwaZh1gSyoJck6Xd4CKlUzRTvkM X8qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YHjdPhss; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m2si21942361plg.509.2022.02.22.16.19.20; Tue, 22 Feb 2022 16:19:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YHjdPhss; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233534AbiBVRaT (ORCPT + 99 others); Tue, 22 Feb 2022 12:30:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230322AbiBVRaS (ORCPT ); Tue, 22 Feb 2022 12:30:18 -0500 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD2A11704EF for ; Tue, 22 Feb 2022 09:29:52 -0800 (PST) Received: by mail-pf1-x42f.google.com with SMTP id u16so12748908pfg.12 for ; Tue, 22 Feb 2022 09:29:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=vh3CaiCMI4LYCw7gOppCXTcSJXSh9VoQ9nFVl2kwI0Q=; b=YHjdPhssPsuXUnpb5L3MwbBzPRtkWVauMDE7yZfEK1xt644kH5ZXOw9xHVCNP8zhsE kN2FEBFEzLsYcgiu5kAyN6Aw344lq66A3NNP7xis5kDyqVn3M1ZIJ2zzi/rjxHLoOFY7 1TKOMxIAupI+j/f/Bgu1Y5ty/rrQOuls1ufP6m4eWbkUwxPJv0Tpgwi8vz2upObvnkjT kwEys3/+XlVB9Eg+lenF1C/wWeDaaWHZ6U1BFLb2gr+2XEoFS9gh9OBVjcQWksZL2Gdl Y5HUDoA/3n1yLZlztLwh5O0xTqsmBIia3i3nWc+ryxdbrawaVTOcpMKfxrpiJCcdSIHM xvKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=vh3CaiCMI4LYCw7gOppCXTcSJXSh9VoQ9nFVl2kwI0Q=; b=ade5hwwbqAavBOUHgLs0ixQl/oPCiE5Yg/zW/u4/cXsvEubHe4ALPddAe8gtZdjgvw DkD07flyE11mN5GIfcCubEI7iU11f8qW/Fbw4t6bnP7mWbVe7c0aI6VtTVlR9HNu7yNq szuvTANFjS/M7ABXtAXGMpO+EPbaPqOWREbJWy1Po+zYRheGzr44csy1xLzXFGaHXUus xsATJXkY3JUI9Waf6xtuzJzykUkRdMOqI0+xbnGtQPUKJVbKtJUODtlVdspfb/BY3HPs xO6WLoKtlH/DxItRsuDiry7fPhimoRILGdjV42lZ6G07CW8gjyWaGw9zerXcsja2coZ9 36LQ== X-Gm-Message-State: AOAM530sDuGPqtsZputrOF2PllHApF1FnzpBgpnyKSNRlwQFJMlYMdy1 Lum9KAXsNJu+72Q0ZRe/kNJ8iJRlnLY= X-Received: by 2002:aa7:88c9:0:b0:4f3:645a:4a11 with SMTP id k9-20020aa788c9000000b004f3645a4a11mr2221960pff.17.1645550992344; Tue, 22 Feb 2022 09:29:52 -0800 (PST) Received: from localhost (2603-800c-1a02-1bae-e24f-43ff-fee6-449f.res6.spectrum.com. [2603:800c:1a02:1bae:e24f:43ff:fee6:449f]) by smtp.gmail.com with ESMTPSA id o6-20020a17090ad20600b001b8d01566ccsm150722pju.8.2022.02.22.09.29.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 09:29:51 -0800 (PST) Sender: Tejun Heo Date: Tue, 22 Feb 2022 07:29:50 -1000 From: Tejun Heo To: Tetsuo Handa Cc: 0day robot , LKML , lkp@lists.01.org, kernel test robot Subject: Re: [PATCH] workqueue: Use private WQ for schedule_on_each_cpu() API Message-ID: References: <20220221083358.GC835@xsang-OptiPlex-9020> <3a20c799-c18e-dd3a-3161-fee6bca1491e@I-love.SAKURA.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a20c799-c18e-dd3a-3161-fee6bca1491e@I-love.SAKURA.ne.jp> X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 21, 2022 at 07:38:09PM +0900, Tetsuo Handa wrote: > Since schedule_on_each_cpu() calls schedule_work_on() and flush_work(), > we should avoid using system_wq in order to avoid unexpected locking > dependency. I don't get it. schedule_on_each_cpu() is flushing each work item and thus shouldn't need its own flushing domain. What's this change for? Thanks. -- tejun