lkml.org 
[lkml]   [2006]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -mm] swsusp: Freeze filesystems during suspend (rev. 2)
On Wed, 1 Nov 2006 18:53:07 +0100
"Rafael J. Wysocki" <rjw@sisk.pl> wrote:

> +void thaw_processes(void)
> +{
> + printk("Restarting tasks ... ");
> + __thaw_tasks(FREEZER_KERNEL_THREADS);
> + thaw_filesystems();
> + __thaw_tasks(FREEZER_USER_SPACE);
> + schedule();
> + printk("done.\n");
> +}
>
> - read_unlock(&tasklist_lock);
> +void thaw_kernel_threads(void)
> +{
> + printk("Restarting kernel threads ... ");
> + __thaw_tasks(FREEZER_KERNEL_THREADS);
> schedule();
> printk("done.\n");
> }

what do these random-looking schedule()s do??
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-01 20:49    [W:0.060 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site