From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9583CCDB47E for ; Fri, 13 Oct 2023 11:26:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229921AbjJML0N (ORCPT ); Fri, 13 Oct 2023 07:26:13 -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: Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org 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