Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e78dc85f authored by Collins Liu's avatar Collins Liu Committed by hecaiqiang
Browse files

Optimize the unfreeze flow

Change-Id: Idf9f187ff469aa10c91a245d88610f5b74836e1b
parent cd010de5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1191,9 +1191,9 @@ int do_send_sig_info(int sig, struct siginfo *info, struct task_struct *p,
		struct task_struct *child = p;
		struct task_struct *child = p;
		rcu_read_lock();
		rcu_read_lock();
		do {
		do {
			child = next_thread(child);
			child->kill_flag = 1;
			child->kill_flag = 1;
			__thaw_task(child);
			__thaw_task(child);
			child = next_thread(child);
		} while(child !=p);
		} while(child !=p);
		rcu_read_unlock();
		rcu_read_unlock();
		}
		}