Re: [PATCH] SPARC32: wrong scheduling of freshly created processes (bug in ret_from_fork)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Kirill Tkhai <tkhai@xxxxxxxxx>
Date: Thu, 31 Mar 2011 11:49:51 +0400

> SPARC32: Pass task_struct to schedule_tail() in ret_from_fork
> 
> Hello, Dave.
> 
> We have to pass task_struct of previous process to function
> schedule_tail(). Currently in ret_from_fork previous thread_info
> is passed:
> 
> switch_to: mov %g6, %g3 /* previous thread_info in g6 */
> 
> ret_from_fork: call    schedule_tail
>                 mov    %g3, %o0 /* previous thread_info is passed */
> 
> void schedule_tail(struct task_struct *prev);
> 
> Signed-off-by: Tkhai Kirill <tkhai@xxxxxxxxx>

Applied, thanks a lot.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux