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 X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7BD52C433E0 for ; Tue, 19 May 2020 06:53:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5305120758 for ; Tue, 19 May 2020 06:53:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728279AbgESGxX (ORCPT ); Tue, 19 May 2020 02:53:23 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:35576 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726841AbgESGxX (ORCPT ); Tue, 19 May 2020 02:53:23 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id C2B80AAC56C0FBE5A135; Tue, 19 May 2020 14:53:18 +0800 (CST) Received: from [127.0.0.1] (10.166.213.93) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Tue, 19 May 2020 14:53:14 +0800 Subject: Re: [PATCH 0/6] cpuidle: Make cpuidle governor switchable to be the default behaviour To: "Rafael J. Wysocki" , Daniel Lezcano , Doug Smythies CC: , Jonathan Corbet References: <1589869525-29893-1-git-send-email-guohanjun@huawei.com> From: Hanjun Guo Message-ID: Date: Tue, 19 May 2020 14:53:13 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <1589869525-29893-1-git-send-email-guohanjun@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Originating-IP: [10.166.213.93] X-CFilter-Loop: Reflected Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On 2020/5/19 14:25, Hanjun Guo wrote: > This is the formal patch set after the RFC v2 [0]. > > For now cpuidle governor can be switched via sysfs only when the > boot option "cpuidle_sysfs_switch" is passed, but it's useful > to switch the governor to adapt to different workloads, especially > after TEO and haltpoll governors were introduced. > > Make cpuidle governor switchable to be the default behaviour by > removing the sysfs_switch and switch attributes, also update the > document as well. > > Patch 1/6 and 2/6 are bugfix patch which can be triggered if the > governor name is 15 characters, it is not a 'real' bug for now as we > don't have such usecases, so we can merge them together via this > patchset. > > Patch 3/6 and 4/6 are the functional update to make cpuidle governor > switchable to be the default behaviour. > > Patch 5/6 and 6/6 are the document update. > > Changes since RFC v2: > - Remove sizeof(char) in patch 1/6; > - Fix some minor typos; > - Adding Review/Test/ACK tags. Forgot to mention that this patch set is rebased on linux-next branch of linux-pm.git Thanks Hanjun