Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3577960pxp; Wed, 23 Mar 2022 01:14:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzny5TfGOe/lG7Jxlvp5jFvTmT+eEv+smZHU77dXnB6ZVbyCBViKOn2GPdUVzYGa93i+m/0 X-Received: by 2002:a17:907:7f04:b0:6e0:39a2:79a6 with SMTP id qf4-20020a1709077f0400b006e039a279a6mr7818953ejc.243.1648023286607; Wed, 23 Mar 2022 01:14:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648023286; cv=none; d=google.com; s=arc-20160816; b=PxToMlgsq6/J8TDa70OgTnIqMHdRy9WHdyRsZ+O22in99ZxYT6W0Q+yYqItghfq1Pj BEFb9B6Lbt9+d8ebor4Eilrw33yxmChk5z7aIl3zR5aHazZtMa21qrfFMeyOlIWj/mVE SD0id2oOoyk8wHNvsTwPJVj1VexVeFiO++urUYBdsAi6zNGpO6PSWTV4ct6YUOiqVQxJ dQE2O6Rv8v0K5pAMY4FQhhpj8Z0uoZWsrNheNyIRHDVIWAjmkoG5YDGIOfmp0Kg+WTJf RKyl+5eddcpaz6tGuEwQJjRQMp/FnQtaLQNcQgStLZGNXnEgV8NbSJSDLNkEqjxNXv/b Sfkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=9h6r+hDWld0qz8ebR0QCtgSa3eYNEc9KrVSoRY2r+K4=; b=bLirdbAr0hovSUCb3P2YKSc0vlfyrNGBfoE+R16FH2OFc4DfhXaChNc+1GhFNdNyzq IngYCIiC/Co3oI+1i5CnrQi1DXogrTJm19eYR8U+Nl6UNgjukuQmcuLee4hOppNd9U3H lqXVnj1GrU0JbRvquy4SK7VG14Mz2+Jkrgw9e8Rs2GCnss9kcdAnoBzca4WQUl18w1wW 9cdzcFZF+4D19JZg92AP4SYyn2V4XAQ40QvUYr8PE/aNl0GgXOhvY/vwjMP+OjfOXTC+ NEyyZhEo+kMVc1ucLwY/NzHdlsoC4pT1WZwj6SfrUjKpgjMtBXRPX7wR/e7HJx72QVY1 nkdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=mOUQl7hc; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=ZqROcIqI; 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=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l26-20020a50d6da000000b004190205c28bsi12652513edj.401.2022.03.23.01.14.21; Wed, 23 Mar 2022 01:14:46 -0700 (PDT) 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=@suse.de header.s=susede2_rsa header.b=mOUQl7hc; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=ZqROcIqI; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237526AbiCVPXq (ORCPT + 99 others); Tue, 22 Mar 2022 11:23:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233563AbiCVPXp (ORCPT ); Tue, 22 Mar 2022 11:23:45 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBFC95D5DE for ; Tue, 22 Mar 2022 08:22:17 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 87C90210E6; Tue, 22 Mar 2022 15:22:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1647962536; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9h6r+hDWld0qz8ebR0QCtgSa3eYNEc9KrVSoRY2r+K4=; b=mOUQl7hcJVOB5n3Ydtx1UDYwKlxNs56jNFh9/crvEy1IhgEynypygDaXCWrcZ3np2KTbVW cGFP1YHXBVab8EUluVrUO/NMo8jX2Lfa/C2AgHXYpbOIKAvuJjmd2rlVCTiTUgpE1e9Cf/ Au4uaZab992CRjvhEzudW5dFPYI9ipY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1647962536; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9h6r+hDWld0qz8ebR0QCtgSa3eYNEc9KrVSoRY2r+K4=; b=ZqROcIqIihrTZzAlx8xBzuD4bSN/30TBQUhY9Z5GXbYgHM7wwfk/g3UtuvOlVMp7QB1tlg kOhEgtEocaktuuAQ== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 7C242A3B81; Tue, 22 Mar 2022 15:22:16 +0000 (UTC) Date: Tue, 22 Mar 2022 16:22:16 +0100 Message-ID: From: Takashi Iwai To: Tetsuo Handa Cc: LKML , Tejun Heo , Lai Jiangshan Subject: Re: An announcement for kernel-global workqueue users. In-Reply-To: <49925af7-78a8-a3dd-bce6-cfc02e1a9236@I-love.SAKURA.ne.jp> References: <49925af7-78a8-a3dd-bce6-cfc02e1a9236@I-love.SAKURA.ne.jp> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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, 21 Mar 2022 02:24:23 +0100, Tetsuo Handa wrote: > > Hello. > > The Linux kernel provides kernel-global WQs (namely, system_wq, system_highpri_wq, > system_long_wq, system_unbound_wq, system_freezable_wq, system_power_efficient_wq > and system_freezable_power_efficient_wq). But since attempt to flush kernel-global > WQs has possibility of deadlock, Tejun Heo thinks that we should stop calling > flush_scheduled_work() and flush_workqueue(system_*). Such callers as of Linux 5.17 > are listed below. > > ---------- > $ git grep -nF 'flush_scheduled_work()' (snip) > sound/soc/intel/atom/sst/sst.c:363: flush_scheduled_work(); At least this one looks superfluous, the call can be simply dropped. I'm going to submit a fix patch. thanks, Takashi