Source-Changes archive

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

Re: CVS commit: src/sys/compat/sa



Bill Stouder-Studenmund wrote:
> Module Name:  src
> Committed By: wrstuden
> Date:         Mon Oct 27 16:52:04 UTC 2008
> 
> Modified Files:
>       src/sys/compat/sa: compat_sa.c
> 
> Log Message:
> Ok. Some calls to sa_upcall() pass in an 'l' that is not the current
> lwp. Our "no-upcall" flagging however accesses l_pflag, and so we
> can't access l->l_pflag. So access curlwp for the no-upcall-blocking
> part.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.4 -r1.5 src/sys/compat/sa/compat_sa.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.

If you want to be kernel preemptible safe, you must cache curlwp.

Christoph


Home | Main Index | Thread Index | Old Index