Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1290770ybg; Fri, 18 Oct 2019 15:18:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxullODTwdQXNGmiJME6S2QdNXhlueQswrza1IVbesP593hJP8hkcqVas//w4rRRkRk4DPM X-Received: by 2002:a17:906:46db:: with SMTP id k27mr11036138ejs.308.1571437120167; Fri, 18 Oct 2019 15:18:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571437120; cv=none; d=google.com; s=arc-20160816; b=oagN90FkZ1HJgUg/guqROvo0A7yy1viSRiIJwk7qpBynWnb5V9ApnOkkmV57rVMIPR iJxSRAGGXMer/Cxf+VZtVLLsJsOO9b2adAvYLOK9hURuktbukoX06qYsbpu9hNiz8+KC KN5qjDRrPskY7QxqC/mYb3h1led121xf9chuSDuN3pIlmq2Oxj0Idle61l5rGihaTdEr 9Kuy3E2W1AdEyjSanZAlFblx/aKxlfElBfVO8BYH5WIkBscE7OwKsxSQbJ2RJUdVLOSM keGwHjv2kgSdnAHSDo1cuVCRWFJByhA8qgnd3v0cVkc1hS1a5BvVQeO1aSkAqzgPQJlZ 7Y3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:date:message-id:from :references:cc:to:subject:dkim-signature; bh=acw8xQL/F51wBLTFsWcK2zjShLTVKrm/1mu9VCqy+Ks=; b=YabWevPUCow2kfTKtmP32iBe1JScmvM7V2LYtAhuPtOyMPeLtYAMnBSv0HEAcmySq4 eS5GKB/hTgUlO5u+snCtuqQXhb09+mUGIqSzniTVZzfSH08NNumMlSgceU+RC97bJldZ FpxUhcHVj4Mbl7mD9YZRBNxujZUoiDzc2aUWLWcNmgHEuGcWMR71WFzyIyKKzrswjcnH ItWhSYdu7y2ax0A09in7T3d0KnqAXgjHS6yp1J9pImR0cfJ5cUlFsKFX/p8XLleAbg2Y jJbLVJRtXnjPK0YauPo9qnMOLDdnpOKsm1QhzbYN6OmJqJqTs9vs3G5CE03jNJE92S1J NrVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=OgXchoI9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n2si4425690edt.408.2019.10.18.15.18.17; Fri, 18 Oct 2019 15:18:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=OgXchoI9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437896AbfJQUSI (ORCPT + 99 others); Thu, 17 Oct 2019 16:18:08 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:46538 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731007AbfJQUSI (ORCPT ); Thu, 17 Oct 2019 16:18:08 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9HKEKmU057514; Thu, 17 Oct 2019 20:17:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=acw8xQL/F51wBLTFsWcK2zjShLTVKrm/1mu9VCqy+Ks=; b=OgXchoI9EIqkkKVV7FXVGmqMSU4rNWzpp93W30turopnqukVu5gP1YA7lqK9I7Cec02I AUnmnMItffHr1z9HUgmG3g0vsbpW90/RwAbT2SR06BOP6NEMWtonFrg/vhK+SzTTxTPs IgKM4UuIHZn2OoFy7CLQBxcksByIDqSj2VpTnDC71Ig2ADUf4BFgmCAhGcFQCPZEWWYq sjbemWsF4PXsHPLSmkFngKNtXs75PuWXpSgbhrtehixv8T3FLe7BiHAHAtVfD8Ko8gPm YvRtvGUiAH7ZDlRcO2T16eNeCCS9xY7jA3SXluMMvLhb4b+arzYoxnMQgj3HO6UkBCah kw== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 2vk6sr0tuk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 17 Oct 2019 20:17:52 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9HKDE5W126580; Thu, 17 Oct 2019 20:15:52 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3030.oracle.com with ESMTP id 2vpcm3j4ee-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 17 Oct 2019 20:15:52 +0000 Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x9HKFnsQ006893; Thu, 17 Oct 2019 20:15:50 GMT Received: from [10.175.166.205] (/10.175.166.205) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 17 Oct 2019 20:15:49 +0000 Subject: Re: [PATCH] cpuidle-haltpoll: make haltpoll aware of 'idle=' override To: "Rafael J. Wysocki" , Zhenzhong Duan Cc: Linux Kernel Mailing List , "Rafael J. Wysocki" , Daniel Lezcano , Linux PM , Marcelo Tosatti References: <1571272750-29798-1-git-send-email-zhenzhong.duan@oracle.com> From: Joao Martins Message-ID: <4ba66cc7-f8ff-05a0-cdee-e1bbba677e67@oracle.com> Date: Thu, 17 Oct 2019 21:15:45 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9413 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=913 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910170181 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9413 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=993 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910170182 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/17/19 8:20 PM, Rafael J. Wysocki wrote: > On Thu, Oct 17, 2019 at 2:41 AM Zhenzhong Duan > wrote: >> and haltpoll >> is built in. If haltpoll is built as a module, still give a chance for >> admin to use it despite 'idle='. > > Why exactly? Do you have any particular use case in mind? > There was no concrete use-case in particular; we thought that when building as a module, that the general usage would be for cpuidle-haltpoll to be inserted (or removed) at some point in the time. And hence allow it to override boot 'idle=' given that you can always remove the module and go back to 'idle='. > Otherwise I'd prefer the behavior to be consistent regardless of > whether or not it is a module.. > It's best we just remove the conditional and keep it consistent across builtin and module. Joao