lkml.org 
[lkml]   [2011]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH pm-freezer 3/4] freezer: restructure __refrigerator()
On 08/31, Tejun Heo wrote:
>
> for (;;) {
> set_current_state(TASK_UNINTERRUPTIBLE);
> +
> + spin_lock_irq(&freezer_lock);
> + current->flags |= PF_FROZEN;
> if (!freezing(current) ||
> - (check_kthr_stop && kthread_should_stop()))
> + (check_kthr_stop && kthread_should_stop())) {
> + current->flags &= ~PF_FROZEN;
> + break;

Argh! sorry I missed this...

This "break" is typo, it should be removed.

Otherwise I believe this is correct.

Oleg.



\
 
 \ /
  Last update: 2011-09-02 19:15    [W:0.043 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site