Re: [PATCH v2] ACPI: Replace msleep() with usleep_range() in acpi_os_sleep().
From: Len Brown
Date: Wed Nov 20 2024 - 13:55:13 EST
On Wed, Nov 20, 2024 at 1:50 PM Rafael J. Wysocki <rafael@xxxxxxxxxx> wrote:
> > 50 usec is likely more than enough in practice.
>
> And would you use the same slack value regardless of the sleep
> duration, or make it somehow depend on the sleep duration?
timerslack_ns is 50 usec for all user-space, no matter the duration.
This part was done right -- it doesn't depend on the sleep duration.
Coalescing depends on the pattern of wakeups over time.
That pattern doesn't necessarily depend on sleep duration,
so it is a hard sell to tie them together.
--
Len Brown, Intel