On Fri, Nov 26 2021 at 14:50, SeongJae Park wrote: > Some kernel threads such as DAMON could need to repeatedly sleep in > micro seconds level. Because usleep_range() sleeps in uninterruptible > state, however, such threads would make /proc/loadavg reports fake load. > > To help such cases, this commit implements a variant of usleep_range() > called usleep_idle_range(). It is same to usleep_range() but sets the > state of the current task as TASK_IDLE while sleeping. > > Suggested-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > Signed-off-by: SeongJae Park <sj@xxxxxxxxxx> Andrew, I assume you want to pick that up along with the mm fix, right? Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>