NetBSD/sys/kern
thorpej 2f58df9a8f Rearrange the code that adds pages of objects to the pool; require
that the caller allocate the pool_item_header when it allocates the
pool page, so we can avoid a locking pitfall (sleeping with a simple
lock held).

Also revive pool_prime(), as there are some letigimate uses of it,
but in doing so, eliminate some of the bogosities of the old version
(i.e. don't do an implicit "setlowat", just prime the pool, and incr
the minpages for each additional page we add, and compute the number
of pages to prime in a way that callers would expect).
2001-05-10 04:51:41 +00:00
..
cnmagic.c only print the magic number changing if not cold 2000-12-19 04:39:19 +00:00
exec_aout.c Use round_page() instead of roundup(..., NBPG). 2000-11-14 22:13:20 +00:00
exec_conf.c Oops. Forgot to add this to execsw. Seems like SVR4 64 is not used much. 2001-03-03 01:46:04 +00:00
exec_ecoff.c restructure struct emul and execsw, in preparation to make emulations LKMable: 2000-11-21 00:37:49 +00:00
exec_elf32.c In the check_header() function, bump the number of allowed section headers 2001-05-07 17:09:13 +00:00
exec_elf64.c
exec_elf_common.c remove unneeded includes. 2000-11-08 05:47:56 +00:00
exec_script.c restructure struct emul and execsw, in preparation to make emulations LKMable: 2000-11-21 00:37:49 +00:00
exec_subr.c eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
genassym.awk
genassym.sh when executing args in the ccode=0 case, send output to a tmp file and 2001-03-06 02:20:18 +00:00
init_main.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
init_sysent.c Regen. 2001-04-10 11:06:20 +00:00
kern_acct.c Don't reset file size limit to infinity on exit. Instead, temporarily 2000-05-08 19:06:36 +00:00
kern_allocsys.c Include "uvm/uvm_param.h" to get definition of "VM_MAX_KERNEL_BUF" as 2000-07-23 10:41:35 +00:00
kern_clock.c Declare schedhz. 2001-05-06 13:46:34 +00:00
kern_descrip.c Change the first arg to fileops fo_stat routine to struct file *, adjust 2001-04-09 10:22:00 +00:00
kern_exec.c Changed EMUL_BSD_ASYNCIO_PIPE to EMUL_NO_BSD_ASYNCIO_PIPE, so that 2001-05-07 09:55:12 +00:00
kern_exit.c Avoid spinning forever when hardclock() wants to grab the kernel lock 2001-03-05 20:38:21 +00:00
kern_fork.c minor KNF 2001-02-26 21:09:57 +00:00
kern_kthread.c ANSI'ify. 2000-07-14 07:14:33 +00:00
kern_ktrace.c utrace(2): limit size of user data to KTR_USER_MAXLEN (currently 2048); return EINVAL if 'len' is bigger 2001-01-05 22:25:26 +00:00
kern_lkm.c Call module "stat" entry where appropriate. 2001-02-24 10:16:46 +00:00
kern_lock.c Define local variable cpu_id only when either MULTIPROCESSOR or DIAGNOSTIC 2001-05-01 04:30:04 +00:00
kern_malloc.c constify 2001-01-18 20:28:15 +00:00
kern_ntptime.c Second phase of changes to remove ntp_adjtime(2) from the kernel entirely if 2000-08-07 18:10:20 +00:00
kern_physio.c eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
kern_proc.c When freeing a session, remove the reference to it from the associated tty. 2001-02-04 22:32:24 +00:00
kern_prot.c Remove an splimp() that really has no purpose in life. 2001-04-12 03:08:42 +00:00
kern_resource.c Move maxdmap and maxsmap where they belong and make them big enough. 2001-02-06 19:54:43 +00:00
kern_sig.c convert to ANSI KNF 2001-02-26 21:58:30 +00:00
kern_subr.c nuke extra token (;) after #endif 2001-01-12 22:55:10 +00:00
kern_synch.c Slighly improve comment for ltsleep(), the previous formulation might 2001-04-27 08:00:03 +00:00
kern_sysctl.c Make sysctl_msgbuf() to copy message buffer to userland even if 2001-04-26 06:07:13 +00:00
kern_time.c Extend NFS_V2_ONLY to remove NQNFS lease support as well. Saves another 10k. 2000-09-19 23:26:25 +00:00
kern_xxx.c restructure struct emul and execsw, in preparation to make emulations LKMable: 2000-11-21 00:37:49 +00:00
kgdb_stub.c Same change in the kgdb code as was done in ddb: 2000-07-18 21:49:08 +00:00
Make.tags.inc use ${.CURDIR:H:H} instead of ../.. for default setting of SYSDIR, 2001-04-18 11:21:24 +00:00
Makefile SYSDIR should be relative here, too. 2001-04-05 19:49:40 +00:00
makesyscalls.sh put TAB after #defines 2001-04-27 06:07:27 +00:00
subr_autoconf.c Format paranoia 2000-07-08 18:11:02 +00:00
subr_disk.c
subr_extent.c Use pool_init() rather then pool_create(). 2001-05-09 23:38:20 +00:00
subr_log.c brain-oh in last. test logsoftc.sc_pgid, not p. 2000-05-28 18:31:13 +00:00
subr_pool.c Rearrange the code that adds pages of objects to the pool; require 2001-05-10 04:51:41 +00:00
subr_prf.c Save the start and end positions in the message buffer of the formatted 2001-05-06 13:23:42 +00:00
subr_prof.c Before allowing kgmon to do anything, check that we managed to allocate the 2001-04-28 12:56:00 +00:00
subr_rmap.c
subr_xxx.c
sys_generic.c oops; accidentally dropped an initialisation in pollscan() in previous. 2001-02-27 04:44:51 +00:00
sys_process.c fix typo in comment 2001-03-17 09:38:36 +00:00
sys_socket.c Changed EMUL_BSD_ASYNCIO_PIPE to EMUL_NO_BSD_ASYNCIO_PIPE, so that 2001-05-07 09:55:12 +00:00
syscalls.c Regen. 2001-04-10 11:06:20 +00:00
syscalls.conf Round up the sysent table size. 2000-12-09 06:15:42 +00:00
syscalls.master Slight indentation nit. 2001-04-10 11:03:56 +00:00
sysv_ipc.c
sysv_msg.c Delete a couple of <uvm/uvm_extern.h> includes that were for 2000-07-22 16:11:02 +00:00
sysv_sem.c Delete a couple of <uvm/uvm_extern.h> includes that were for 2000-07-22 16:11:02 +00:00
sysv_shm.c eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
tty_conf.c Add l_poll' to struct linesw' and provide an xxxpoll() entry point 2001-05-02 10:32:08 +00:00
tty_pty.c Add l_poll' to struct linesw' and provide an xxxpoll() entry point 2001-05-02 10:32:08 +00:00
tty_subr.c MALLOC()/FREE() are not to be used for variable sized allocations. 2000-08-02 20:53:07 +00:00
tty_tb.c Remove unnecessary test of tp->t_linesw against NULL; they are results 2001-03-31 00:35:21 +00:00
tty_tty.c
tty.c Add l_poll' to struct linesw' and provide an xxxpoll() entry point 2001-05-02 10:32:08 +00:00
uipc_domain.c add pfctlinput2() (pfctlinput() with args). 2001-02-11 06:38:45 +00:00
uipc_mbuf2.c make sure we do not return shared M_EXT mbuf. it will avoid possible mbuf 2001-02-14 17:09:19 +00:00
uipc_mbuf.c Change some low-hanging splimp() calls to splvm(). 2001-01-14 02:06:21 +00:00
uipc_proto.c
uipc_socket2.c Large values of sb_max would cause an overflow in sbreserve(); cast to 2001-04-30 03:32:56 +00:00
uipc_socket.c Remove the use of splimp() from the NetBSD kernel. splnet() 2001-04-13 23:29:55 +00:00
uipc_syscalls.c implement the recently introduced EMUL_BSD_ASYNCIO_PIPE emulation package 2001-05-06 19:22:32 +00:00
uipc_usrreq.c Oops, missed a couple of places where CMSG_*() should be used. No 2000-06-05 16:29:45 +00:00
vfs_bio.c in bwrite(), when deciding whether to convert sync writes into delayed writes, 2001-04-01 16:16:56 +00:00
vfs_cache.c Depending on the NAMECACHE_ENTER_REVERSE option, always enter reverse 2001-03-29 22:39:23 +00:00
vfs_cluster.c Set doreallocblks=1 here. 2000-11-30 20:56:53 +00:00
vfs_getcwd.c Jump out of the scandir loop if VOP_READDIR returns an error, avoiding 2000-12-15 11:52:14 +00:00
vfs_init.c make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const 2001-01-22 12:17:35 +00:00
vfs_lockf.c change the lf_advlock() arguments from 2000-07-22 15:26:11 +00:00
vfs_lookup.c Convert namei pathname buffer allocation to use the pool allocator. 2000-08-03 20:41:05 +00:00
vfs_subr.c When unmounting a file system, acquire the syncer_lock before 2001-04-16 22:41:09 +00:00
vfs_syscalls.c When unmounting a file system, acquire the syncer_lock before 2001-04-16 22:41:09 +00:00
vfs_vnops.c Change the first arg to fileops fo_stat routine to struct file *, adjust 2001-04-09 10:22:00 +00:00
vnode_if.c regen from vnode_if.sh rev 1.29 2001-05-07 08:48:07 +00:00
vnode_if.sh delint: vop_default_desc was declared const but not defined const. 2001-05-07 08:46:02 +00:00
vnode_if.src Initial integration of the Unified Buffer Cache project. 2000-11-27 08:39:39 +00:00