Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1342561pxy; Thu, 6 May 2021 06:11:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMFuOV/KAGlIEqsl6bGC+A1WTxwonXyXUO50uBMPj7G7ejsqfgFHnL8iaQ4utBVjIhm5X0 X-Received: by 2002:a05:6512:358c:: with SMTP id m12mr2762771lfr.289.1620306693692; Thu, 06 May 2021 06:11:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620306693; cv=none; d=google.com; s=arc-20160816; b=fzHGUntFCjkw96HTQ2xQrMGLgFoJ/boltIm7IEyK5AaE7XQJkUOpH3tRJ1QE1WJ8AH /Wz7G54D4fPnf9M14pWiAsHdPzUaFXbyAxb+wJ7F7Qa0dTxMuVBXKHFngAvA8bgBnhG6 Xzk0yqlLMtvCcpS4FAkyCKKY5JOLaDRFxVAREn+7mKRWWKEMLx7mrfiJ7ZyccvIagqjk wVw84Yi5pZwUJU2sxegdMl0NN2VjcJwicG8Rl2pcf1IKIqd7Fz8rHlN2mwTtjeNTHDh+ mbc1v63FONP/aniiquSHGVK/nnPf8cykCrdiddbC/tJLgJm2OBzRx/yTC+uNR4IfDXQl Y99Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=KWJg+Vt3Q8NVH2ewzCg+bN0L04a/eNeDOHTWG7S8+10=; b=w9YW8eSmES7lwZFDPVobuF2+tu92IzvysAIwCagJXFZAy1wejF/3dBd7Ri2k5mLlit QFjJUvR0tVj8sLdAoK/QuEvW8Y7stW5u1RXLYOe583yUSQa5Sm2QsYz1KSmwdEcSyDmQ Y6m4C8ezxvi/AqHLCoLRLxHBwPtFV4d7dQJjykOLcxgky65hGi6Nj6ygBVA7j4BHVAPy qOH2Snh/tgZXd8ZE8wi1ZW1Vmt9u2/tw76RHa/g/BKKBZ6yKzI58a2hve63t721RHnvi 69iPakYktwi4eZUdi1PyKZqQiX3vZ406hUxyKwlP2xWUhcBeZkzoN5qwFf0wswOhniJW uCpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=TEUqXuWA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u15si2768885edt.43.2021.05.06.06.11.08; Thu, 06 May 2021 06:11:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=TEUqXuWA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233561AbhEFNHT (ORCPT + 99 others); Thu, 6 May 2021 09:07:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233053AbhEFNHS (ORCPT ); Thu, 6 May 2021 09:07:18 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C84ADC061761 for ; Thu, 6 May 2021 06:06:20 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id b25so8154287eju.5 for ; Thu, 06 May 2021 06:06:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=KWJg+Vt3Q8NVH2ewzCg+bN0L04a/eNeDOHTWG7S8+10=; b=TEUqXuWA7rir5GMdojTKBQi0ozHKO/kw2Kyn2TmsraaXDBG0RE/vEg0hCoiED19Ysh YemqzZVLc/nzKTawNq7bAwRzhgOvdyzbCQtBOE8B2RGxOXGZWra//4uGWU9VIUIW0lRm bSZZlnXHg+plaV5Aza1BbWzs+BJ6laNTL5IRs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=KWJg+Vt3Q8NVH2ewzCg+bN0L04a/eNeDOHTWG7S8+10=; b=NF+ilg1pKRvBP9H1GnB1SgL3uukghhECt1U6Rij2xY8ORgaJ1VU6+UBWbPUn3UnsIi ruMV3MIAgPgFK/YPsYoXeFuzl9ujiQw/I+jv7TJ3LvFYRNuG1wiqhxJv3F91jnlukPMB Lmsgyrt//zCoQSmVu+VuiibDWu/EUZofj4VRs8SAx1Lkf4uEgqWSIAZWwtNbaiWdrr80 rqrZc1UfDrpmbEgwYDxkiUzupue0c4pf+HPyXwQ4vA5vDUy0eRQ5JrJrH5OAr+uPVebA r/VzJDKBY5VqgptaKQVvslHEySZICaRNQ9m+PUSUbX+Kt+wfOC9BQVHzRpkv05PjM6g7 +hUQ== X-Gm-Message-State: AOAM530/4kTd+emzzgpcUiaObZ7b28WslPfbNzleD0wHNbXZoDONOfoZ KOLUspovn6hVeV5vvtjQYtCefjiiPXDIRIYS+qY= X-Received: by 2002:a17:906:46d0:: with SMTP id k16mr4295291ejs.105.1620306379262; Thu, 06 May 2021 06:06:19 -0700 (PDT) Received: from [192.168.1.149] ([80.208.71.248]) by smtp.gmail.com with ESMTPSA id l26sm1368799ejz.27.2021.05.06.06.06.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 May 2021 06:06:18 -0700 (PDT) Subject: Re: [PATCH] docs: admin-guide: update description for kernel.hotplug sysctl To: Jonathan Corbet , Kay Sievers , Greg Kroah-Hartman Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210420120638.1104016-1-linux@rasmusvillemoes.dk> From: Rasmus Villemoes Message-ID: <58ed4157-b8f8-be1b-65f7-89fc2e318a43@rasmusvillemoes.dk> Date: Thu, 6 May 2021 15:06:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210420120638.1104016-1-linux@rasmusvillemoes.dk> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/04/2021 14.06, Rasmus Villemoes wrote: > It's been a few releases since this defaulted to /sbin/hotplug. Update > the text, and include pointers to the two CONFIG_UEVENT_HELPER{,_PATH} > config knobs whose help text could provide more info, but also hint > that the user probably doesn't need to care at all. > > Fixes: 7934779a69f1 ("Driver-Core: disable /sbin/hotplug by default") > Signed-off-by: Rasmus Villemoes Ping. > --- > Documentation/admin-guide/sysctl/kernel.rst | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst > index 1d56a6b73a4e..c24f57f2c782 100644 > --- a/Documentation/admin-guide/sysctl/kernel.rst > +++ b/Documentation/admin-guide/sysctl/kernel.rst > @@ -333,7 +333,12 @@ hotplug > ======= > > Path for the hotplug policy agent. > -Default value is "``/sbin/hotplug``". > +Default value is ``CONFIG_UEVENT_HELPER_PATH``, which in turn defaults > +to the empty string. > + > +This file only exists when ``CONFIG_UEVENT_HELPER`` is enabled. Most > +modern systems rely exclusively on the netlink-based uevent source and > +don't need this. > > > hung_task_all_cpu_backtrace >