> In code I've used I don't demote other states. But there are state aborts. In those cases residency is low or 0. Indeed, its the residency=0 cases that the patch I sent in my last mail attempts to fix. The idea being, not to increment target_state->usage if dev->last_residency was 0, i.e. the state (whether it was the governor recommended state or safe_state or any other state) was not entered or used. Cheers, surinder P.S Richard, pls ignore my other mail with the same content. I goofed up & missed your email in my inbox and sent the reply out of context. This mail should link it back to thread. _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm