Re: [PATCH] freezer,sched: Use saved_state to reduce some spurious wakeups

From: Jeffrey Hugo
Date: Mon Aug 28 2023 - 13:37:47 EST


On 8/28/2023 11:33 AM, Elliot Berman wrote:
After commit f5d39b020809 ("freezer,sched: Rewrite core freezer logic"),
tasks that are in TASK_FREEZABLE state and end up getting frozen are
always woken up. Prior to that commit, tasks could ask freezer to
consider them "frozen enough" via freezer_do_not_conut(). As described

freezer_do_not_count()