NetBSD/sys/compat
wrstuden 04ca26c586 Tweak change to move SA support from userret() to lwp_userret().
1) Since we want to check for upcalls only once, take LW_SA_UPCALL
out of the while(l->l_flags & LW_USERRET) loop.

2) since the goal is to keep SA code out of userret() (and especially
all the emulations that include userret() but will never do SA),
ALWAYS set LW_SA_UPCALL when we set SAVP_FLAG_NOUPCALLS. Drop the
test for it in lwp_userret() since it will never be set bare.

3) Adapt sa_upcall_userret() to clear LW_SA_UPCALL if it's no longer
needed. If we have gained upcalls since sa_yield(), we will deliver
them next time around.

Tested by skrll at.
2008-10-28 22:11:36 +00:00
..
aoutm68k Commit regenerated files after adding include of <sys/sched.h>. 2008-06-21 19:59:09 +00:00
common Replace references to getsock/getvnode. 2008-06-24 11:18:14 +00:00
darwin Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
freebsd Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
ibcs2 Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
irix Remove proc_representative_lwp(), use a simple LIST_FIRST() instead. 2008-07-02 19:49:58 +00:00
linux populate init_thread_area. 2008-10-28 18:37:41 +00:00
linux32 Add native to linux siginfo si_code translation, mostly for negative 2008-10-19 09:44:31 +00:00
m68k4k Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
mach Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
ndis use device_xname 2008-07-17 13:39:50 +00:00
netbsd32 if the interpreter is literally "/usr/libexec/ld.elf_so" or 2008-10-26 07:07:35 +00:00
osf1 Replace references to getsock/getvnode. 2008-06-24 11:18:14 +00:00
ossaudio Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
pecoff Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
sa Tweak change to move SA support from userret() to lwp_userret(). 2008-10-28 22:11:36 +00:00
sunos convert some [left behind] compat code to use new sockopt API 2008-08-07 20:15:32 +00:00
sunos32 Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
svr4 Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
svr4_32 Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
sys Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
ultrix Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
vax1k Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
Makefile