[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2090510.mhlLnX9yIq@kreacher>
Date: Fri, 15 Nov 2019 11:06:32 +0100
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Zhenzhong Duan <zhenzhong.duan@...cle.com>
Cc: linux-kernel@...r.kernel.org, pbonzini@...hat.com,
rkrcmar@...hat.com, rafael.j.wysocki@...el.com,
joao.m.martins@...cle.com, mtosatti@...hat.com,
kvm@...r.kernel.org, linux-pm@...r.kernel.org
Subject: Re: [PATCH RESEND v2 1/4] cpuidle-haltpoll: ensure grow start value is nonzero
On Wednesday, November 6, 2019 12:54:59 PM CET Zhenzhong Duan wrote:
> dev->poll_limit_ns could be zeroed in certain cases (e.g. by
> guest_halt_poll_ns = 0). If guest_halt_poll_grow_start is zero,
> dev->poll_limit_ns will never be bigger than zero.
Given that haltpoll_enable_device() sets dev->poll_limit_ns = 0 to start with,
I don't think that the statement above is correct.
Powered by blists - more mailing lists