NetBSD/sys/kern
wrstuden ab61b53b27 Adjust the sleeps in lwpcache and lwpublk. Make them uninterruptable
for now. This will prevent signals from waking them. Adjust
exit_lwps() to explicitly add LW_SINTR to all of them, so that
the process exit code can wake them up.

This is needed as threads in both of these wait channels die once
they are woken. So they aren't interruptable in the typical sense.

I am now able to suspend & resume firefox successfully now.
2008-11-01 05:59:33 +00:00
..
bufq_disksort.c Add a BUFQ_CANCEL() next to BUFQ_PUT() and BUFQ_GET(). 2008-04-30 12:09:02 +00:00
bufq_fcfs.c Add a BUFQ_CANCEL() next to BUFQ_PUT() and BUFQ_GET(). 2008-04-30 12:09:02 +00:00
bufq_priocscan.c add a comment. 2008-05-03 05:18:36 +00:00
bufq_readprio.c Add a BUFQ_CANCEL() next to BUFQ_PUT() and BUFQ_GET(). 2008-04-30 12:09:02 +00:00
cnmagic.c
core_elf32.c Network protocol interrupts can now block on locks, so merge the globals 2008-04-24 15:35:27 +00:00
core_elf64.c
core_netbsd.c PR kern/37917 /bin/ps no longer shows zombies 2008-04-29 16:21:27 +00:00
exec_aout.c
exec_conf.c
exec_ecoff.c
exec_elf32.c Replace intptr_t with uintptr_t in few more places. 2008-09-15 18:12:56 +00:00
exec_elf64.c
exec_macho.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
exec_script.c Catch up with descriptor handling changes. See kern_descrip.c revision 2008-03-21 21:54:58 +00:00
exec_subr.c Don't needlessly acquire v_interlock. 2008-06-02 16:16:27 +00:00
genlintstub.awk
init_main.c On the prompt for init path, print a simple usage line 2008-10-28 15:33:10 +00:00
init_sysctl.c Set kern.posix_semaphores are runtime so it can be a module. 2008-10-22 11:25:19 +00:00
init_sysent.c Regen syscall tables. I forgot to do it after revivesa. While pooka 2008-10-16 20:12:23 +00:00
kern_acct.c Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since 2008-04-24 18:39:20 +00:00
kern_auth.c Use __arraycount when appropriate 2008-08-15 01:31:02 +00:00
kern_cctr.c Reduce ifdefs due to MULTIPROCESSOR slightly. 2008-05-19 17:06:02 +00:00
kern_clock.c hardclock() itself doesn't schedule callout softintrs any more, 2008-10-05 21:57:20 +00:00
kern_condvar.c PR kern/38761: new (?) race in buffer cache code 2008-06-16 12:03:01 +00:00
kern_core.c Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since 2008-04-24 18:39:20 +00:00
kern_cpu.c - Avoid the race with CPU online/offline state changes, when setting the 2008-10-31 00:36:22 +00:00
kern_descrip.c Change {ff,fd}_exclose and ff_allocated to bool. Change exclose arg to 2008-07-02 16:45:19 +00:00
kern_drvctl.c ioctl commands are unsigned long. 2008-06-24 10:24:21 +00:00
kern_event.c Replace gcc-style designated initialisers with c99-style. 2008-06-24 10:27:35 +00:00
kern_exec.c Only define/use saemul_netbsd if KERN_SA is defined. (maybe this should be 2008-10-21 20:52:11 +00:00
kern_exit.c Adjust the sleeps in lwpcache and lwpublk. Make them uninterruptable 2008-11-01 05:59:33 +00:00
kern_fileassoc.c - Convert hashinit() to use kmem_alloc(). The hash tables can be large 2008-05-05 17:11:16 +00:00
kern_fork.c Move uidinfo to its own module in kern_uidinfo.c and include in rump. 2008-10-11 13:40:57 +00:00
kern_idle.c Don't call uvm_pageidlezero() if the CPU is marked offline. 2008-06-11 13:42:02 +00:00
kern_ksyms.c don't hold locks in ddb (call ksyms_getval_unlocked()), pointed out by ad. 2008-10-24 13:55:42 +00:00
kern_kthread.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
kern_ktrace.c Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
kern_lkm.c
kern_lock.c Switch from KASSERT to CTASSERT for those asserts testing sizes of types. 2008-07-02 14:47:34 +00:00
kern_lwp.c Tweak change to move SA support from userret() to lwp_userret(). 2008-10-28 22:11:36 +00:00
kern_malloc_debug.c Pages mapped by debug_malloc are PMAP_KMPAGE so tell the pmap that. 2008-08-07 01:40:21 +00:00
kern_malloc_stdtype.c M_IOV is used all over the place, so stuff it in with malloc_stdtypes 2008-10-14 14:17:49 +00:00
kern_malloc.c Extend the information that MALLOCLOG outputs to include the preceding 2008-10-26 12:23:28 +00:00
kern_module.c Make MODCTL_LOAD_FORCE do something. 2008-10-22 11:19:15 +00:00
kern_mutex.c Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
kern_ntptime.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
kern_pax.c Fix broken enable test; fixes random coredumps. 2008-06-04 12:26:20 +00:00
kern_physio.c Resolve a race when physio_done signals completion before it tries to 2008-09-24 08:19:19 +00:00
kern_pmf.c Include <sys/sched.h> before <sys/syscallargs.h> for cpuset_t. 2008-06-17 16:17:21 +00:00
kern_proc.c Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
kern_prot.c Move uidinfo to its own module in kern_uidinfo.c and include in rump. 2008-10-11 13:40:57 +00:00
kern_ras.c Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
kern_rate.c Split rate-checking routines into their own module for easier reuse. 2008-09-25 17:17:10 +00:00
kern_resource.c Move uidinfo to its own module in kern_uidinfo.c and include in rump. 2008-10-11 13:40:57 +00:00
kern_runq.c - Replace lwp_t::l_sched_info with union: pointer and timeslice. 2008-10-07 09:48:27 +00:00
kern_rwlock.c rw_vector_exit(): When doing direct hand-off to a writer, only set 2008-07-29 16:13:39 +00:00
kern_sig.c toall signals really are toall. The fact we're sa doesn't matter. 2008-10-24 18:07:36 +00:00
kern_sleepq.c Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
kern_softint.c Give maximum level of network softinterrupts a symbolic constant 2008-10-14 17:15:20 +00:00
kern_stub.c Add a weak alias for ktr_saupcall, so things build w/o KTRACE compiled. 2008-10-15 16:03:29 +00:00
kern_subr.c M_IOV is used all over the place, so stuff it in with malloc_stdtypes 2008-10-14 14:17:49 +00:00
kern_synch.c Fix a type -- a comment started with /m instead of /* .... 2008-10-29 21:35:27 +00:00
kern_sysctl.c don't expose ksyms_lock 2008-10-23 20:41:13 +00:00
kern_tc.c Initialize timecounter_lock at IPL_HIGH. Prevents a "locking against myself" 2008-07-19 10:33:58 +00:00
kern_time.c Adjust locking on the sadata::sa_vps list. The main time we 2008-10-16 18:21:45 +00:00
kern_timeout.c Update CALLOUT_INVOKING correctly, seems to have been lost. 2008-10-10 11:42:58 +00:00
kern_todr.c
kern_turnstile.c turnstile_block(): When an LWP puts its turnstile onto a sync object's 2008-08-12 14:13:34 +00:00
kern_uidinfo.c Correction to previous. 2008-10-14 09:17:23 +00:00
kern_uuid.c Switch from KASSERT to CTASSERT for those asserts testing sizes of types. 2008-07-02 14:47:34 +00:00
kern_verifiedexec.c Conditionalise bypass of veriexec routines on veriexec_strict to prevent 2008-10-23 13:18:14 +00:00
kern_xxx.c Remove unneeded playing about with kernel_lock. 2008-04-25 11:23:42 +00:00
kgdb_stub.c
Make.tags.inc
Makefile Use ${TOOL_SED} instead of plain "sed" in "!=" assignments. 2008-10-25 22:35:36 +00:00
makesyscalls.sh Fix previous: weak symbols work so much better if they are exported 2008-10-13 18:16:33 +00:00
sched_4bsd.c - Replace lwp_t::l_sched_info with union: pointer and timeslice. 2008-10-07 09:48:27 +00:00
sched_m2.c Make SCHED_M2 nice with nice(1). Closes PR/38048. 2008-10-18 03:44:04 +00:00
subr_autoconf.c Remove what seems to be a debug printf committed by accident. 2008-09-07 22:36:36 +00:00
subr_blist.c
subr_bufq.c Add a BUFQ_CANCEL() next to BUFQ_PUT() and BUFQ_GET(). 2008-04-30 12:09:02 +00:00
subr_callback.c
subr_debug.c Disable the freecheck stuff atomically so we only get one warning about 2008-04-30 20:20:53 +00:00
subr_devsw.c Correct previous. 2008-06-08 12:23:18 +00:00
subr_disk_mbr.c
subr_disk.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
subr_evcnt.c
subr_extent.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
subr_hash.c - Convert hashinit() to use kmem_alloc(). The hash tables can be large 2008-05-05 17:11:16 +00:00
subr_iostat.c Remove pointless COMPAT ifdef. 2008-05-20 16:03:31 +00:00
subr_kmem.c if DEBUG, over-allocate 1 byte to detect overrun. 2008-02-09 12:56:20 +00:00
subr_kobj.c Correct an error message. 2008-10-20 20:07:35 +00:00
subr_lockdebug.c Change tree op members/typedefs to rbto_compare_* from rb_compare_* 2008-06-30 20:14:09 +00:00
subr_log.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
subr_once.c Atomic ops are unnecessary here. pointed out by ad 2008-10-09 12:14:06 +00:00
subr_optstr.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
subr_percpu.c - encrypt/decrypt offsets if DIAGNOSTIC. 2008-05-03 05:31:56 +00:00
subr_pool.c - Rename cpu_lookup_byindex() to cpu_lookup(). The hardware ID isn't of 2008-10-15 08:13:17 +00:00
subr_prf2.c Move [hH][eE][xX][dD][iI][gG][iI][tT][sS](*) from subr_prf to subr_prf2 2008-09-23 22:20:24 +00:00
subr_prf.c Move [hH][eE][xX][dD][iI][gG][iI][tT][sS](*) from subr_prf to subr_prf2 2008-09-23 22:20:24 +00:00
subr_prof.c
subr_specificdata.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
subr_syscall_stats.c Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
subr_tftproot.c Merge the socket locking patch: 2008-04-24 11:38:36 +00:00
subr_time.c Use more timespecs internally. From Alexander Shishkin and me. 2008-07-15 16:18:08 +00:00
subr_userconf.c
subr_vmem.c - simplify ASSERT_SLEEPABLE. 2008-03-17 08:27:50 +00:00
subr_workqueue.c Replace intptr_t in few places to uintptr_t. 2008-09-15 10:43:29 +00:00
subr_xcall.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
sys_aio.c Adjust and thus unify my license. 2008-05-26 17:45:51 +00:00
sys_descrip.c Replace intptr_t with uintptr_t in few more places. 2008-09-15 18:12:56 +00:00
sys_generic.c Change {ff,fd}_exclose and ff_allocated to bool. Change exclose arg to 2008-07-02 16:45:19 +00:00
sys_lwp.c _lwp_kill: set SI_LWP in the siginfo, not SI_USER. 2008-10-16 08:47:07 +00:00
sys_module.c - Be clear about whether module load is explicit or system initiated (auto). 2008-10-22 11:16:29 +00:00
sys_mqueue.c - Fix message queue permissions problems. 2008-09-29 10:27:53 +00:00
sys_pipe.c remove M_PIPE (hi rmind!) 2008-09-17 14:00:41 +00:00
sys_pmc.c Make ntp, pmc, reboot, sysarch, time syscalls MPSAFE. 2008-04-21 12:56:30 +00:00
sys_process.c Pull in a fix from wrstuden-revivesa: 2008-09-27 03:52:24 +00:00
sys_pset.c - Schedule bound threads even if CPU is offline. Might be revisited later, 2008-09-30 16:28:45 +00:00
sys_sched.c - Avoid the race with CPU online/offline state changes, when setting the 2008-10-31 00:36:22 +00:00
sys_select.c - Rename cpu_lookup_byindex() to cpu_lookup(). The hardware ID isn't of 2008-10-15 08:13:17 +00:00
sys_sig.c Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
sys_socket.c kern/38502 ifconfig wi0 hangs 2008-04-29 18:35:14 +00:00
sys_syscall.c Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
syscalls.c Regen syscall tables. I forgot to do it after revivesa. While pooka 2008-10-16 20:12:23 +00:00
syscalls.conf bring some stuff from time_t=64... 2008-03-22 15:11:01 +00:00
syscalls.master One more rump syscall: ioctl (required for interface configuration) 2008-10-16 19:30:49 +00:00
sysv_ipc.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
sysv_msg.c Fix the aligning of memory blocks again, finally... 2008-09-19 11:21:33 +00:00
sysv_sem.c Fix the aligning of memory blocks again, finally... 2008-09-19 11:21:33 +00:00
sysv_shm.c Change the order of error checks in shmget so EEXIST is returned before 2008-10-27 15:40:56 +00:00
tty_bsdpty.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
tty_conf.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
tty_ptm.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
tty_pty.c Make ioctl(FIONREAD) on the master side of a pty return the amount of 2008-09-03 16:47:34 +00:00
tty_subr.c wipe out tty buffer contents after read, to avoid keeping possibly 2008-07-16 18:27:49 +00:00
tty_tty.c Network protocol interrupts can now block on locks, so merge the globals 2008-04-24 15:35:27 +00:00
tty.c ttywrite: g/c an unused variable (cnt). 2008-08-08 07:18:03 +00:00
uipc_accf.c Correction to previous. 2008-10-15 08:25:28 +00:00
uipc_domain.c Merge the socket locking patch: 2008-04-24 11:38:36 +00:00
uipc_mbuf2.c
uipc_mbuf.c Switch from KASSERT to CTASSERT for those asserts testing sizes of types. 2008-07-02 14:47:34 +00:00
uipc_proto.c Merge the socket locking patch: 2008-04-24 11:38:36 +00:00
uipc_sem.c Set kern.posix_semaphores are runtime so it can be a module. 2008-10-22 11:17:08 +00:00
uipc_socket2.c Change 'return (expr);' to 'return expr;'. Change (type *)0 to 2008-10-24 22:23:20 +00:00
uipc_socket.c Accept filters: 2008-10-14 13:45:26 +00:00
uipc_syscalls.c Convert socket options code to use a sockopt structure 2008-08-06 15:01:23 +00:00
uipc_usrreq.c Move uidinfo to its own module in kern_uidinfo.c and include in rump. 2008-10-11 13:40:57 +00:00
vfs_bio.c nestiobuf_setup(): Initialize b_dev from master buffer. 2008-09-11 09:14:46 +00:00
vfs_cache.c cache_lookup_raw: update "goodhits" statistics to be less confused. 2008-10-25 14:20:17 +00:00
vfs_dirhash.c Clarify the dirhash locking protocol and remove unnessiary #ifdef DEBUG 2008-10-31 16:04:59 +00:00
vfs_getcwd.c Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
vfs_hooks.c Convert file systems to dynamically attach with the new module interface. 2008-05-10 02:26:09 +00:00
vfs_init.c Add generic FS agnostic directory hashing support. Currently only in use by 2008-09-27 13:01:07 +00:00
vfs_lockf.c Move uidinfo to its own module in kern_uidinfo.c and include in rump. 2008-10-11 13:40:57 +00:00
vfs_lookup.c Remove my development ifdefs. (hi simon!) 2008-08-20 14:06:35 +00:00
vfs_subr.c PR kern/39307 mfs will sometimes panic at umount time 2008-09-24 09:33:40 +00:00
vfs_syscalls.c - Be clear about whether module load is explicit or system initiated (auto). 2008-10-22 11:16:29 +00:00
vfs_trans.c Replace the fss unmount hook with a vfs_hook. 2008-09-17 14:49:25 +00:00
vfs_vnops.c Writing 0 bytes on an O_APPEND file should not affect the offset 2008-08-27 06:28:09 +00:00
vfs_wapbl.c fix a comment. 2008-08-11 02:45:27 +00:00
vfs_xattr.c getvnode -> fd_getvnode 2008-06-23 11:30:41 +00:00
vnode_if.c Remove needless white-space change that crept in through wapbl branch 2008-07-31 08:42:01 +00:00
vnode_if.sh Reduce ifdefs due to MULTIPROCESSOR slightly. 2008-05-19 17:06:02 +00:00
vnode_if.src