Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp7192437ybf; Fri, 6 Mar 2020 12:11:53 -0800 (PST) X-Google-Smtp-Source: ADFU+vux0RIkuDBwVLbhSORVcjAeW6wsjWo3UzbFQIHogv2GUNqy7zhfpbb+11apcjvORGj2phNp X-Received: by 2002:a9d:443:: with SMTP id 61mr3607951otc.357.1583525513703; Fri, 06 Mar 2020 12:11:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583525513; cv=none; d=google.com; s=arc-20160816; b=kqTZs7QHDB0oJefk5KEjop5OAgh7Hm4U5JMnHfMRURkUZUTRW0qcI28QdhglMm7dMj 9UrkO6XPUhl/AZ3bQwNso9JxedodoQVAGgvfOPuXk0KnE3zB5026lj8Rac4/zuh3JUil oBYP7BQqD7qi1QyjPhrnDz2K+F8VSjRbWq1/zTWaLTAl2nXut/Ln7Sxpl1jZ9k7MorJS lNDk+cNif5/6Vc3jrenm1zueheC+rBOUUop35Y2BFyl2xAo0NN0iSzh/7M26P70/wa2D 1ow/cM91rLRnw1PRlFHNAk7Foz0g3qGZlnwjbCe45fukFSlJ9bUzr3j+nMXsZW1rQFna FYQw== 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:user-agent:date :message-id:autocrypt:from:references:cc:to:subject; bh=PoQHgwtd+J2wtaS6WqTsPZcuWEeG/kNhx7Yk5fOHCEk=; b=XWI8HUt6Fh+GvLU+LqxQMCk3Pmpw5a4O6Ecgl9vlZRhl1FtBgo8EqudF0m8Q4nkNcO uNvwVNzPdcSrlpt2+Hf4nKBljsZuhSHzTuZ8SDV9d32d58+ywxMm1X3oyivwowiLmKPT Vqx/BmFS63knGLilUyMzfwxNzb09zYe3YUy1+G5GN2jbHiVhxEQ+MVELuQ4OYGJphKJ7 b48E1PeXO9tJgV/AtRP+5YjDRT808FhYpb+FEYIYR7n8lEr0XZRRAClAqpEU3pf2GO+0 6BGBGwyzCHR9nknzM/Qae1I77DH5Uc4gnsx7Kqv664xm2iIAPJk9NsINFZVnVpsRVnKM 9ISg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 18si237385oiq.71.2020.03.06.12.11.41; Fri, 06 Mar 2020 12:11:53 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726861AbgCFULU (ORCPT + 99 others); Fri, 6 Mar 2020 15:11:20 -0500 Received: from vps-vb.mhejs.net ([37.28.154.113]:44156 "EHLO vps-vb.mhejs.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726185AbgCFULT (ORCPT ); Fri, 6 Mar 2020 15:11:19 -0500 Received: from MUA by vps-vb.mhejs.net with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.3) (envelope-from ) id 1jAJJS-00028H-Qo; Fri, 06 Mar 2020 21:11:14 +0100 Subject: Re: [PATCH] cpuidle-haltpoll: allow force loading on hosts without the REALTIME hint To: Marcelo Tosatti Cc: Paolo Bonzini , "Rafael J. Wysocki" , Daniel Lezcano , Joao Martins , Boris Ostrovsky , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Konrad Rzeszutek Wilk References: <20200221174331.1480468-1-mail@maciej.szmigiero.name> <114f7b8d-6f88-222a-d1fa-abcfc0e6a1f2@maciej.szmigiero.name> <20200306095617.GD32190@fuller.cnet> From: "Maciej S. Szmigiero" Autocrypt: addr=mail@maciej.szmigiero.name; prefer-encrypt=mutual; keydata= mQINBFpGusUBEADXUMM2t7y9sHhI79+2QUnDdpauIBjZDukPZArwD+sDlx5P+jxaZ13XjUQc 6oJdk+jpvKiyzlbKqlDtw/Y2Ob24tg1g/zvkHn8AVUwX+ZWWewSZ0vcwp7u/LvA+w2nJbIL1 N0/QUUdmxfkWTHhNqgkNX5hEmYqhwUPozFR0zblfD/6+XFR7VM9yT0fZPLqYLNOmGfqAXlxY m8nWmi+lxkd/PYqQQwOq6GQwxjRFEvSc09m/YPYo9hxh7a6s8hAP88YOf2PD8oBB1r5E7KGb Fv10Qss4CU/3zaiyRTExWwOJnTQdzSbtnM3S8/ZO/sL0FY/b4VLtlZzERAraxHdnPn8GgxYk oPtAqoyf52RkCabL9dsXPWYQjkwG8WEUPScHDy8Uoo6imQujshG23A99iPuXcWc/5ld9mIo/ Ee7kN50MOXwS4vCJSv0cMkVhh77CmGUv5++E/rPcbXPLTPeRVy6SHgdDhIj7elmx2Lgo0cyh uyxyBKSuzPvb61nh5EKAGL7kPqflNw7LJkInzHqKHDNu57rVuCHEx4yxcKNB4pdE2SgyPxs9 9W7Cz0q2Hd7Yu8GOXvMfQfrBiEV4q4PzidUtV6sLqVq0RMK7LEi0RiZpthwxz0IUFwRw2KS/ 9Kgs9LmOXYimodrV0pMxpVqcyTepmDSoWzyXNP2NL1+GuQtaTQARAQABtDBNYWNpZWogUy4g U3ptaWdpZXJvIDxtYWlsQG1hY2llai5zem1pZ2llcm8ubmFtZT6JAlQEEwEIAD4CGwMFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AWIQRyeg1N257Z9gOb7O+Ef143kM4JdwUCXgY+twUJBDYq 8gAKCRCEf143kM4Jd/45D/wJvB7YuXuQvgqB9rG2b6cxMe2hriH9iLnpJlUjgzHwNDWkVF6v ZYJeIhYyUSxHNK/XExDS7UfH8E9Z7Jo9AoS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4iERxCi3FZTNMLGjxzG2teWesUSbvtlrFMtc3lxwdAiA/kF8FBkesG7acP0saiIJr UcMfU+ZsXGxMSrZ4RRRFESvcgvK95KgnlsyuRouyVFu7tJVbTnW6/65JRFNlEQ6Wsbx/0C90 KWkF9R7DLtcVxno75+pXiXDdy9bq54uQeT+9dr+EdyVL0H3eTzP9js7GrRahuHD6/AxekQwX afDLYnExRXL7acu5a1fUpDKWe/CigtyjJz73Dvs9eV7Wvk69TFV60Ft84UEqNBqSha7s1/m8 tQW4InvfnL9h0LWVvwUZe5HKCPe65amwBOvwkkYd4OfNb0NDVudTMsCYLJ8al57zLelH2hcS wOiVdXBsbePjzLy2exEXUb1bHFjBoHnHX6uszBOzM/Dv1eNWJPZ3r3PRFnQk/D9ohEXVEmUI TLDd7lR06Nr8J4oG1RprRTW1T8xE6lSwbfsp9ApU1QuDZzSI1hdNpDYRVUmQeiXnSjR1YBVb zOyMU+hnnsQZMdTQ2qVFZs4JGCA9/wSOMMsohDbJNX2iGR1S+RFpZY9sipuGBVM7wIVrz4Ac Iw== Message-ID: <0d6b9b29-964c-72b5-7020-e3ccd66aee3f@maciej.szmigiero.name> Date: Fri, 6 Mar 2020 21:11:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200306095617.GD32190@fuller.cnet> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marcelo, Thanks for your input. On 06.03.2020 10:56, Marcelo Tosatti wrote: (..) > or even better (but requires more investment) > > 2) Make on the flight dynamic configuration (after all pCPU > overcommitment=true/false is a property that changes during > the day, depending on system load). > > But its up to Paolo to decide, really. I think that for now, to cover the use cases that are described in the commit message and bring back the functionality that was kind of lost after commit 1328edca4a14, we should add this module parameter. Then we can think about some more comprehensive solution. Thanks, Maciej