Commit 57bd37b1 authored by Elliot Berman's avatar Elliot Berman
Browse files

FROMGIT: freezer,sched: clean saved_state when restoring it during thaw



Clean saved_state after using it during thaw. Cleaning the saved_state
allows us to avoid some unnecessary branches in ttwu_state_match.

Signed-off-by: default avatarElliot Berman <quic_eberman@quicinc.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20231120-freezer-state-multiple-thaws-v1-2-f2e1dd7ce5a2@quicinc.com

Bug: 292064955
Bug: 312992017
(cherry picked from commit 418146e3
 https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

 sched/core)
Change-Id: I245593122edecb1dc9c354c36b59da057d4f4e00
Signed-off-by: default avatarElliot Berman <quic_eberman@quicinc.com>
(cherry picked from commit 9e64014b1a011de2da224743bb25cb7711d8669a)
parent eb72e490
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment