Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp886626rdg; Fri, 13 Oct 2023 04:26:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHhp888w2uIqdADOM4jOQfofwGaqzTxmbluAkuvxwuj1qrQiDPdJjyC60yWY+RoWJw5IAMs X-Received: by 2002:a05:6358:716:b0:143:897e:6e31 with SMTP id e22-20020a056358071600b00143897e6e31mr25804215rwj.7.1697196384143; Fri, 13 Oct 2023 04:26:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697196384; cv=none; d=google.com; s=arc-20160816; b=ljLS4EkX0aDBsnAPiIgarYTHehFGOBZxglDdr9v8ljDU0O2AOeuPPilojm4ODsaaWs /kO5u/QSlBNki+Id/uWTQ1Fyfl6VnLy8Sqh7DUUEd5dz7LUC4dqsrNz9pFCCQUqWoavk yXuyBCFiUI7s+2i9U2W76NgPsK0DKxNCEePgyCqbz34KDC27uKH1WGCnpZl8iNveyTUZ 7lpyFOTWBm9pqvusFRPT8e9gyW7sUtt/vdpqzAqwmQgaD5cNK6wkViXtxM/bLwOD5wim 2wIVqvRaYl6Imjxi+qZETLE9Esfw0+dMOFsgOua0+TMu+lNm1/v/fTyQL1KZUkeZZAKl jDbA== 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:dkim-signature; bh=Z6a1+cmcNzLnK+8hso4GHZPhLD6c/ok2N+8psmvApN4=; fh=miI0j2TyRPmBdXdjrI977YSUoVvUO856650HxxaBTmA=; b=UsrlTpmxK4bh9sCWVqpUFLEWoJWay43T3OVA0NGQvZJvFbh4JdWcyNHguvjGE2yJVi 9BsLRtO2nXJmNb3LN6f6RrupuC+8SdfN7dpjzZlJfpkgp/3iL8oP7DD6XMS5I+IoKdQR oVZDeeG+c8fdQ6FYLDTTxuiyEZKTTGrLdEqbAOA17mWOXDlL1KHUOstWldQ24tcV8EPO QAgrU7AJ8P4GLFvhWUubS9KGA59rGF0YJjUOOeWymGBPUmsjyfE8HeP3Gk5/PipaKSfx hcB/baRnisJMulfJh1g0E32SVfEb/Xni8HKZGLgqjmAxw9/uIQVK/2XXf/pG4ZfW589i 7L1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GpiRTsF9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id eg8-20020a056a00800800b00690d50c8fcasi16323576pfb.177.2023.10.13.04.26.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 04:26:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GpiRTsF9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id B9CDD83A2BEC; Fri, 13 Oct 2023 04:26:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230150AbjJML0O (ORCPT + 99 others); Fri, 13 Oct 2023 07:26:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229903AbjJML0N (ORCPT ); Fri, 13 Oct 2023 07:26:13 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33993BD; Fri, 13 Oct 2023 04:26:12 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F6CFC433C7; Fri, 13 Oct 2023 11:26:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697196371; bh=RuJES9wsIhm/41SO2jZyNN7nyVs++ro407XwfKTbpjw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GpiRTsF96U0xrIWoYroczPVR26jd69RIcfdScsFLaabbJkztQOX3B/TzV/9VCM/Tg l66+MlKvMjYJgJfeL18Jt8z8fSV6C7dWk3nPHW2quwObtttPFSg72P72qttGvRn5Ma cftPiBRPyuWRX+S/OWW8VRDL5PqmMzZ6NisKa4bXF5dDHaqeHGBafADFZRPqPiytoi W/XbqWt6w0fQDidaERsAt9glLgtSjM/rwEOPr/wVvot5pNgC5F2BUol/Jh7keMsOmH 3Rx36T+qsY2/KnNJb5viSuDOoZruWpcUmtZWGULZNUDH3yf/PCGFnIyUz0MHZb5dMS etFvO5PZDA3iA== Date: Fri, 13 Oct 2023 13:26:08 +0200 From: Frederic Weisbecker To: Tejun Heo Cc: Ming Lei , Jens Axboe , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Juri Lelli , Andrew Theurer , Joe Mario , Sebastian Jug Subject: Re: [PATCH] blk-mq: add module parameter to not run block kworker on isolated CPUs Message-ID: References: <20231010142216.1114752-1-ming.lei@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Fri, 13 Oct 2023 04:26:21 -0700 (PDT) On Tue, Oct 10, 2023 at 08:45:44AM -1000, Tejun Heo wrote: > > +static bool respect_cpu_isolation; > > +module_param(respect_cpu_isolation, bool, 0444); > > +MODULE_PARM_DESC(respect_cpu_isolation, > > + "Don't schedule blk-mq worker on isolated CPUs passed in " > > + "isolcpus= or nohz_full=. User need to guarantee to not run " > > + "block IO on isolated CPUs (default: false)"); > > Any chance we can centralize these? It's no fun to try to hunt down module > params to opt in different subsystems and the housekeeping interface does > have some provisions for selecting different parts. I'd much prefer to see > these settings to be collected into a central place. Do we need this parameter in the first place? Shouldn't we avoid scheduling blk-mq worker on isolated CPUs in any case? Thanks. > > Thanks. > > -- > tejun