mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 16:48:26 +02:00 
			
		
		
		
	freezer: remove obsolete comments in __thaw_task()
__thaw_task() no longer clears frozen flag since commit a3201227f8
(freezer: make freezing() test freeze conditions in effect instead of TIF_FREEZE).
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
			
			
This commit is contained in:
		
							parent
							
								
									51fae6da64
								
							
						
					
					
						commit
						c05eb32f47
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		|  | @ -150,12 +150,6 @@ void __thaw_task(struct task_struct *p) | |||
| { | ||||
| 	unsigned long flags; | ||||
| 
 | ||||
| 	/*
 | ||||
| 	 * Clear freezing and kick @p if FROZEN.  Clearing is guaranteed to | ||||
| 	 * be visible to @p as waking up implies wmb.  Waking up inside | ||||
| 	 * freezer_lock also prevents wakeups from leaking outside | ||||
| 	 * refrigerator. | ||||
| 	 */ | ||||
| 	spin_lock_irqsave(&freezer_lock, flags); | ||||
| 	if (frozen(p)) | ||||
| 		wake_up_process(p); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Cong Wang
						Cong Wang