NetBSD/sys/kern
perseant 43ca783b4a Back out rev 1.174 of vfs_subr.c, because the splbio() wasn't protecting
enough to be useful, and broadening it so that it did would have meant
that operations possibly requiring synchronous disk activity would have
to be done in splbio().  This clearly was not going to work.

Worked around this in the LFS case by having lfs_cluster_callback put an
extra hold on the vnode before calling biodone(), and taking the hold
off without HOLDRELE's problematic list swapping.  lfs_vunref() will take
care of that---in thread context---on the next write if need be.

Also, ensure that the list walking in lfs_{writevnodes,segunlock,gather}
takes into account the possibility that the list may change
underneath it (possibly because it itself deleted an element).

Tested on i386, test-compiled on alpha.
2002-05-23 23:05:25 +00:00
..
cnmagic.c
core_elf32.c
core_elf64.c
core_netbsd.c
exec_aout.c
exec_conf.c Fix up linux a.out compat entry after move of emul-related sysctl handler 2002-04-02 23:56:17 +00:00
exec_ecoff.c
exec_elf32.c Define ELF32_EHDR_FLAGS_OK()/ELF64_EHDR_FLAGS_OK() and use it 2002-01-28 22:15:54 +00:00
exec_elf64.c
exec_elf_common.c
exec_macho.c
exec_script.c
exec_subr.c
genassym.awk
genassym.sh
genlintstub.awk
init_main.c Use <sys/disk.h> for the prototype of disk_init() rather than declaring 2002-03-04 02:30:27 +00:00
init_sysent.c Regen. 2002-05-03 00:22:15 +00:00
kern_acct.c
kern_allocsys.c
kern_clock.c We don't need to include <uvm/uvm_extern.h> before <sys/sysctl.h> anymore. 2002-03-17 11:10:43 +00:00
kern_descrip.c Maintain a short list of the actual descriptors that were closed and 2002-05-09 17:57:07 +00:00
kern_exec.c From OpenBSD, via FreeBSD: If a set{u,g}id binary is invoked with fd < 3 2002-04-23 15:11:25 +00:00
kern_exit.c oops, forgot to commit the caller of exithook... 2002-03-17 23:41:30 +00:00
kern_fork.c
kern_kthread.c
kern_ktrace.c
kern_lkm.c
kern_lock.c Move kernel_lock manipulation info functions so that they will 2002-05-21 01:38:26 +00:00
kern_malloc_debug.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
kern_malloc.c Include opt_malloc_debug.h so that debug_malloc will actually be used 2002-04-03 09:45:22 +00:00
kern_ntptime.c Back out previous. 2002-05-03 01:22:30 +00:00
kern_physio.c allow writing to write-only mappings. fixes PR 3493. 2002-02-14 07:08:02 +00:00
kern_proc.c Use SESSHOLD and SESSRELE consistently. 2002-04-12 17:02:33 +00:00
kern_prot.c
kern_resource.c
kern_sig.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
kern_subr.c - merge all the hook insertion and deletion code so that we don't create 2002-03-17 22:19:20 +00:00
kern_synch.c Move kernel_lock manipulation info functions so that they will 2002-05-21 01:38:26 +00:00
kern_sysctl.c Eliminate more commons or redundant declarations. 2002-05-14 02:58:32 +00:00
kern_time.c Implement the CLOCK_MONOTONIC clock for the posix/opengroup realtime 2002-01-31 00:13:07 +00:00
kern_xxx.c
kgdb_stub.c add support for the `D' kgdb detach command 2002-01-05 22:57:38 +00:00
Make.tags.inc
Makefile
makesyscalls.sh
subr_autoconf.c When searching for devices also skip those deleted by userconf. 2002-04-15 05:30:12 +00:00
subr_disk.c Use sizeof correctly. Fixes PR#15613. 2002-02-16 02:11:43 +00:00
subr_extent.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
subr_log.c Fix the return value of logioctl() for unhandled ioctl; return EPASSTHROUGH 2002-04-28 04:13:51 +00:00
subr_pool.c Move 'struct pool_cache_group' definition into <sys/pool.h> 2002-03-13 10:57:18 +00:00
subr_prf.c
subr_prof.c
subr_prop.c size_t is a long on alpha. I forget whether there's actually a 'best' 2002-03-16 22:44:41 +00:00
subr_rmap.c
subr_userconf.c
subr_xxx.c
sys_generic.c Make sure file descriptor is properly FILE_UNUSE()d in error case 2002-03-22 18:58:59 +00:00
sys_pipe.c Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for 2002-03-17 19:40:26 +00:00
sys_process.c Move code shared by procfs and the kernel proper out of procfs and 2002-05-09 15:44:44 +00:00
sys_socket.c
syscalls.c Regen. 2002-05-03 00:22:16 +00:00
syscalls.conf
syscalls.master Use #if defined(_LP64) to determine if we're generating 64-bit binaries, 2002-05-03 00:20:56 +00:00
sysv_ipc.c
sysv_msg.c Make the debugging printfs compile: 2002-03-05 23:28:58 +00:00
sysv_sem.c use the exithook mechanism to clean up semaphores. 2002-03-17 22:21:58 +00:00
sysv_shm.c Split off the backend of the shmat system call, and find removed segments 2002-04-03 11:53:01 +00:00
tty_conf.c Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for 2002-03-17 19:40:26 +00:00
tty_pty.c Print ttyinfo *before* (not after) sending SIGINFO to processes. 2002-03-25 04:26:43 +00:00
tty_subr.c
tty_tb.c Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for 2002-03-17 19:40:26 +00:00
tty_tty.c
tty.c - Fix more and more white space nits. 2002-05-02 13:38:57 +00:00
uipc_domain.c Make domains extern. 2002-05-12 20:36:58 +00:00
uipc_mbuf2.c in m_aux_delete, no need to chase beyond victim. from Archie Cobbs, sync w/kame 2002-05-23 05:45:34 +00:00
uipc_mbuf.c Make mbpool and mclpool use the new drain hook facaility. Adjust 2002-03-09 01:46:32 +00:00
uipc_proto.c
uipc_socket2.c
uipc_socket.c In soreceive(), don't call sopendfree() if MSG_DONTWAIT is set 2002-05-07 08:06:35 +00:00
uipc_syscalls.c Switch default for pipes to the faster John S. Dyson's implementation. 2002-02-11 18:11:41 +00:00
uipc_usrreq.c
vfs_bio.c Eliminate commons. 2002-05-12 23:06:27 +00:00
vfs_cache.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
vfs_getcwd.c
vfs_init.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
vfs_lockf.c
vfs_lookup.c
vfs_subr.c Back out rev 1.174 of vfs_subr.c, because the splbio() wasn't protecting 2002-05-23 23:05:25 +00:00
vfs_syscalls.c Don't release the lock on mount point vnode so early when doing update mount. 2002-05-11 00:45:06 +00:00
vfs_vnops.c Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for 2002-03-17 19:40:26 +00:00
vnode_if.c
vnode_if.sh
vnode_if.src