NetBSD/sys/kern
mrg a37172bb09 avoid a problem in kpsignal2() holding sched_lock while wanting to call
pool_get().  pre-allocate the ksiginfo_t before taking sched_lock and
use it if necessary, or freeing it if it is unused.

rename ksiginfo_{get,put}() to ksiginfo_{dequeue,queue}() (idea from chuq.)


this fixes PR#32962.  thanks to christos, chuq and go for help/ideas.
2006-10-22 20:48:45 +00:00
..
Make.tags.inc Skip computing tags on IP Filter while its compatibility #defines 2006-09-01 04:55:12 +00:00
Makefile
bufq_disksort.c
bufq_fcfs.c
bufq_priocscan.c
bufq_readprio.c
cnmagic.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
core_elf32.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
core_elf64.c
core_netbsd.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
exec_aout.c
exec_conf.c Make this compile under "no options COREDUMP". 2006-08-30 14:41:06 +00:00
exec_ecoff.c
exec_elf32.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
exec_elf64.c
exec_macho.c Use the LWP cached credentials where sane. 2006-07-23 22:06:03 +00:00
exec_script.c at the request of elad, as veriexec.h has returned, revert the changes 2006-07-26 09:33:57 +00:00
exec_subr.c add support for O_DIRECT (I/O directly to application memory, 2006-10-05 14:48:32 +00:00
genlintstub.awk
init_main.c Add specificdata support to procs and lwps, each providing their own 2006-10-08 04:28:44 +00:00
init_sysctl.c Back out previous (p_flag2). 2006-10-03 16:07:12 +00:00
init_sysent.c regen 2006-10-17 15:07:21 +00:00
kern_acct.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_auth.c kauth_cred_uucvt() -> kauth_uucred_to_cred(), introduce kauth_cred_to_uucred() 2006-10-22 13:07:15 +00:00
kern_clock.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_descrip.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_drvctl.c Add __unused as necessary. 2006-10-12 04:29:37 +00:00
kern_event.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_exec.c now that we have -Wno-unused-parameter, back out all the tremendously ugly 2006-10-17 18:21:29 +00:00
kern_exit.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_fileassoc.c * Correct hashing macro so it uses FHANDLE_SIZE() 2006-09-08 13:57:38 +00:00
kern_fork.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_kcont.c
kern_ksyms.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_kthread.c
kern_ktrace.c make ktruser enforce the maximum buffer length, and return an error. 2006-10-22 18:19:49 +00:00
kern_lkm.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_lock.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_lwp.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_malloc.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_malloc_debug.c
kern_microtime.c
kern_ntptime.c now that we have -Wno-unused-parameter, back out all the tremendously ugly 2006-10-17 18:21:29 +00:00
kern_pax.c Change the PaX mprotect(2) restrictions' "global_protection" knob to 2006-09-26 14:48:40 +00:00
kern_physio.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_proc.c pool_get(): use PR_WAITOK, not M_WAITOK (which happens to be PR_NOWAIT ..) 2006-10-21 17:01:56 +00:00
kern_prot.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_ras.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_resource.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_sa.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_sig.c avoid a problem in kpsignal2() holding sched_lock while wanting to call 2006-10-22 20:48:45 +00:00
kern_subr.c now that we have -Wno-unused-parameter, back out all the tremendously ugly 2006-10-17 18:21:29 +00:00
kern_synch.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_sysctl.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_systrace.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_tc.c Avoid printf() the selected timecounter as it is called in the path of hardclock(). 2006-10-21 07:16:54 +00:00
kern_time.c Add an XXX to remind me why it's there when grepping. (securelevel ref) 2006-10-20 22:22:48 +00:00
kern_timeout.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_todr.c Minor KNF, replace some spaces with tabs. 2006-09-24 18:24:55 +00:00
kern_uuid.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kern_verifiedexec.c Pretending to be Elad's keyboard: 2006-08-11 19:17:47 +00:00
kern_xxx.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
kgdb_stub.c
makesyscalls.sh
subr_autoconf.c remove details of the kernel malloc() implementation from header files: 2006-10-02 02:59:38 +00:00
subr_blist.c
subr_bufq.c
subr_callback.c
subr_devsw.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
subr_disk.c - Define disk information, disk geometry, and disk partition dictionary 2006-09-22 04:48:38 +00:00
subr_disk_mbr.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
subr_evcnt.c
subr_extent.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
subr_iostat.c Change iostat_alloc() to take the parent pointer and the name directly, so 2006-08-23 17:19:32 +00:00
subr_kmem.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
subr_log.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
subr_once.c
subr_optstr.c
subr_pool.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
subr_prf.c Fix %X in kernel printf, from Arnaud Degroote in PR kern/34459. 2006-09-03 17:06:36 +00:00
subr_prof.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
subr_specificdata.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
subr_userconf.c
subr_vmem.c remove a todo which has been done. 2006-10-22 10:19:25 +00:00
subr_workqueue.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
subr_xxx.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
sys_generic.c now that we have -Wno-unused-parameter, back out all the tremendously ugly 2006-10-17 18:21:29 +00:00
sys_pipe.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
sys_pmc.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
sys_process.c Don't allow ptrace to copyout arbitrary sized data. Reported by the 2006-10-15 15:20:09 +00:00
sys_socket.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
syscalls.c regen 2006-10-17 15:07:21 +00:00
syscalls.conf
syscalls.master according to the manual, the last argument of quotactl(2) is a void *, 2006-10-17 15:06:18 +00:00
sysv_ipc.c
sysv_msg.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
sysv_sem.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
sysv_shm.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
tty.c Avoid NULL deref (this is called with lwp=NULL from ppp interrupt context) 2006-09-13 13:28:22 +00:00
tty_bsdpty.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
tty_conf.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
tty_ptm.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
tty_pty.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
tty_subr.c
tty_tty.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
uipc_domain.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
uipc_mbuf.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
uipc_mbuf2.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
uipc_proto.c use c99 initializers 2006-09-03 21:12:14 +00:00
uipc_sem.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
uipc_socket.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
uipc_socket2.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
uipc_syscalls.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
uipc_usrreq.c use c99 initializers 2006-09-03 21:12:14 +00:00
vfs_bio.c with the introduction of 512 byte buffers, the index in the array is not 2006-10-16 16:50:12 +00:00
vfs_cache.c make comment match logic in cache_lookup dvp unlock code 2006-09-10 05:51:33 +00:00
vfs_getcwd.c Use the LWP cached credentials where sane. 2006-07-23 22:06:03 +00:00
vfs_hooks.c
vfs_init.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
vfs_lockf.c Fix all the -D*DEBUG* code that it was rotting away and did not even compile. 2006-08-17 17:11:27 +00:00
vfs_lookup.c Use the LWP cached credentials where sane. 2006-07-23 22:06:03 +00:00
vfs_subr.c avoid yet another GCC warning only exposed at -O3. 2006-10-22 00:48:14 +00:00
vfs_syscalls.c Replace the LIST structure mp->mnt_vnodelist to a TAILQ structure since all 2006-10-20 18:58:12 +00:00
vfs_vnops.c add support for O_DIRECT (I/O directly to application memory, 2006-10-05 14:48:32 +00:00
vfs_xattr.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
vnode_if.c Fix alignement problems for fhandle_t, exposed by gcc4.1. 2006-07-13 12:00:24 +00:00
vnode_if.sh
vnode_if.src