Re: [PATCH 1/4] swsusp: Untangle thaw_processes

2006-11-19 Thread Pavel Machek
Hi! > Ah, good idea. In fact I prefer if (is_user_space(p) == !thaw_user_space), > because it will work even if thaw_user_space is different to 1 and 0. > > Revised patch follows. > > --- > Move the loop from thaw_processes() to a separate function and call it > independently for kernel threads

Re: [PATCH 1/4] swsusp: Untangle thaw_processes

2006-11-19 Thread Rafael J. Wysocki
Hi, On Sunday, 19 November 2006 03:04, Pavel Machek wrote: > Hi! > > > Move the loop from thaw_processes() to a separate function and call it > > independently for kernel threads and user space processes so that the order > > of thawing tasks is clearly visible. > > > > Drop thaw_kernel_threads(

Re: [PATCH 1/4] swsusp: Untangle thaw_processes

2006-11-18 Thread Pavel Machek
Hi! > Move the loop from thaw_processes() to a separate function and call it > independently for kernel threads and user space processes so that the order > of thawing tasks is clearly visible. > > Drop thaw_kernel_threads() which is never used. > > Signed-off-by: Rafael J. Wysocki <[EMAIL PROTE

Re: [PATCH 1/4] swsusp: Untangle thaw_processes

2006-11-18 Thread Nigel Cunningham
Hi. On Sat, 2006-11-18 at 23:47 +0100, Rafael J. Wysocki wrote: > Move the loop from thaw_processes() to a separate function and call it > independently for kernel threads and user space processes so that the order > of thawing tasks is clearly visible. > > Drop thaw_kernel_threads() which is nev

[PATCH 1/4] swsusp: Untangle thaw_processes

2006-11-18 Thread Rafael J. Wysocki
Move the loop from thaw_processes() to a separate function and call it independently for kernel threads and user space processes so that the order of thawing tasks is clearly visible. Drop thaw_kernel_threads() which is never used. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> --- include