Re: [RFC PATCH 1/2] sched: Rate limit migrations to 1 per 2ms per task

From: Peter Zijlstra
Date: Wed Sep 06 2023 - 05:48:14 EST


On Tue, Sep 05, 2023 at 03:44:57PM -0700, Tim Chen wrote:

> Reading up on sched_clock() documentation and seems like it should 
> indeed be monotonic.

It tries very hard to be monotonic but cannot guarantee. The moment TSC
is found unstable it's too late to fix up everything.