Commit d3cf5eb7 authored by Elliot Berman's avatar Elliot Berman Committed by Matthias Männich
Browse files

UPSTREAM: 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: 346888930
(cherry picked from commit 418146e3)
Change-Id: Idffe6ebe559c3d683572ce3c90403e618fd21225
Signed-off-by: default avatarXuewen Yan <xuewen.yan@unisoc.com>
parent 1da401e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment