[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0i4b0hvGjSjSpBnZ-huJZGi3FmN1z5NVc_4V6CForaLfA@mail.gmail.com>
Date: Fri, 15 Nov 2019 11:16:46 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Zhenzhong Duan <zhenzhong.duan@...cle.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Paolo Bonzini <pbonzini@...hat.com>,
Radim Krčmář <rkrcmar@...hat.com>,
Rafael Wysocki <rafael.j.wysocki@...el.com>,
Joao Martins <joao.m.martins@...cle.com>,
Marcelo Tosatti <mtosatti@...hat.com>,
kvm-devel <kvm@...r.kernel.org>,
Linux PM <linux-pm@...r.kernel.org>
Subject: Re: [PATCH RESEND v2 1/4] cpuidle-haltpoll: ensure grow start value
is nonzero
On Fri, Nov 15, 2019 at 11:06 AM Rafael J. Wysocki <rjw@...ysocki.net> wrote:
>
> 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.
Scratch this, I misread it.
Powered by blists - more mailing lists