Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp692651ybg; Wed, 3 Jun 2020 11:03:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlly359hjjnTJ9aBImf3dOF5Gj+zORsY8VFeve+XtQnM5TyfyDLANRjWa3+nOpBH8ky62h X-Received: by 2002:a17:906:ccd5:: with SMTP id ot21mr449224ejb.508.1591207399669; Wed, 03 Jun 2020 11:03:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591207399; cv=none; d=google.com; s=arc-20160816; b=CwL6aUDXkqUA0Wctn0YPSHxE/BdqSQFQdVfFxuiZa2kiJNYnKdieqNv7l7tzW13RkW wNc5iA+2PYPjhZSKApklpev0zGFw1kqv58SnGvR84K7yNCwVStas7Eb58d8FwuOBF9j2 WdfJDxBj37xAMC+Gn0Z5+7qoSLc67I7i4NN08iIonhwNjfcaxir5078B26GSPEMKTtuc Nqvdgzly4Od7Uk53f+r5tltm11gwzXn9IjVmniTRJCdzg6GOeYimGsEXZEu2LQ5m94z3 aMQv66XxAORb1GyWWaG1xVydYTX48d6lCL+gLJjKOfyIDHmPu/TXqyo9dHZWUyBJ/JaG tyIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references; bh=nSz7J3gcs/NUNouKKSltcwvpo7RTlCXqydBpwD5Sx7Y=; b=VqVeQEAkwp56YCHkaVCwEEsVDQ5kRibhLqmZaJLP1FCnGecXn51Xz69LpYO5tD0i19 HTw1lRvy9Cc39lmVKZVL2yj5NVTuEivIjLVJ2i2SiTd7fF3VtZM61h7FRM4UOdknFA7h XQ1QIq1ZmrQex5SujhEHT0o1v8KtXZKpeEjjZ++/cRuGlTGe4pZz/e8z1NrUisDLhUdo nXYjK16KEls7sH/gRIbf7k38BmGfGjz1uRlf1hY6D4kFDUWjWMBWZKaw/wW7FKe8AQX8 ks1C4vddN3wiY9ZWctMgwM1AQLa+G2Q4ezhhv1TJvTL57mMn04BaUd8fQK9tlDIy69FA U4uA== ARC-Authentication-Results: i=1; mx.google.com; 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 30si147456edr.262.2020.06.03.11.02.55; Wed, 03 Jun 2020 11:03:19 -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; 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 S1726441AbgFCSAa (ORCPT + 99 others); Wed, 3 Jun 2020 14:00:30 -0400 Received: from foss.arm.com ([217.140.110.172]:36336 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726103AbgFCSAa (ORCPT ); Wed, 3 Jun 2020 14:00:30 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C0A7531B; Wed, 3 Jun 2020 11:00:29 -0700 (PDT) Received: from e113632-lin (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 096543F305; Wed, 3 Jun 2020 11:00:28 -0700 (PDT) References: <20200603173150.GB1551@shell.armlinux.org.uk> User-agent: mu4e 0.9.17; emacs 26.3 From: Valentin Schneider To: Russell King - ARM Linux admin Cc: Thara Gopinath , Vincent Guittot , linux-kernel@vger.kernel.org Subject: Re: v5.7: new core kernel option missing help text In-reply-to: <20200603173150.GB1551@shell.armlinux.org.uk> Date: Wed, 03 Jun 2020 19:00:26 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/06/20 18:31, Russell King - ARM Linux admin wrote: > Hi, > > A new kernel configuration option ("SCHED_THERMAL_PRESSURE") was > recently added, but has no help text. This is most unhelpful when > trying to configure the kernel, since one does not know what the > effect of answering yes or no to this option would be. > > Please supply a proper help text when adding core kernel options > so that people can make an informed decision when answering the > prompt, rather than just guessing. > Right; does the below look good enough? --- diff --git a/init/Kconfig b/init/Kconfig index 74a5ac65644f..f40cf852d00a 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -441,6 +441,10 @@ config HAVE_SCHED_AVG_IRQ config SCHED_THERMAL_PRESSURE bool "Enable periodic averaging of thermal pressure" depends on SMP + help + This option allows the scheduler to be aware of CPU thermal throttling + (i.e. thermal pressure), providing arch_scale_thermal_pressure() is + implemented. config BSD_PROCESS_ACCT bool "BSD Process Accounting" ---