Subject: CVS commit: src/sys
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 02/01/2003 08:23:56
Module Name: src
Committed By: thorpej
Date: Sat Feb 1 06:23:55 UTC 2003
Modified Files:
src/sys/arch/x68k/dev: vs.c
src/sys/coda: cnode.h coda_vfsops.c
src/sys/dev: audio_if.h
src/sys/dev/ic: interwave.c interwavevar.h
src/sys/dev/isa: ad1848_isa.c ad1848var.h ess.c isadma.c isadmavar.h
sbdsp.c sbdspvar.h
src/sys/dev/pci: agp.c agpvar.h auich.c autri.c auvia.c cmpci.c
cs428x.c cs428x.h eap.c emuxki.c esa.c esm.c esmvar.h eso.c fms.c
neo.c sv.c yds.c
src/sys/dev/raidframe: raidframevar.h rf_netbsdkintf.c
src/sys/dev/usb: usb_mem.c usb_port.h
src/sys/fs/adosfs: adosfs.h advfsops.c
src/sys/fs/cd9660: cd9660_extern.h cd9660_vfsops.c
src/sys/fs/filecorefs: filecore_extern.h filecore_vfsops.c
src/sys/fs/msdosfs: msdosfs_vfsops.c msdosfsmount.h
src/sys/fs/ntfs: ntfs.h ntfs_subr.c ntfs_vfsops.c
src/sys/fs/smbfs: smbfs_node.c smbfs_subr.c smbfs_vfsops.c
src/sys/kern: kern_descrip.c kern_event.c kern_exec.c kern_malloc.c
kern_malloc_debug.c kern_proc.c kern_prot.c kern_sa.c kern_subr.c
subr_extent.c subr_prof.c subr_prop.c sys_pipe.c sysv_shm.c
tty_subr.c uipc_mbuf.c uipc_mbuf2.c uipc_sem.c uipc_socket.c
vfs_cache.c vfs_lockf.c vfs_lookup.c vfs_subr.c vfs_syscalls.c
src/sys/miscfs/kernfs: kernfs_vfsops.c
src/sys/net: if.c if.h
src/sys/netinet6: in6.c in6_var.h nd6.c nd6.h
src/sys/netkey: keydb.c keydb.h
src/sys/netns: spp_usrreq.c
src/sys/netsmb: smb_conn.c smb_dev.c smb_iod.c smb_rq.c smb_subr.c
smb_subr.h
src/sys/nfs: nfs_bootparam.c nfs_node.c nfs_nqlease.c nfs_socket.c
nfs_syscalls.c nfs_var.h nfs_vfsops.c
src/sys/sys: Makefile event.h exec.h extent.h file.h malloc.h mbuf.h
mount.h namei.h param.h proc.h savar.h socketvar.h systm.h tty.h
uio.h vnode.h
src/sys/ufs/ffs: ffs_softdep.c
src/sys/ufs/lfs: lfs_extern.h lfs_segment.c
src/sys/ufs/mfs: mfs_extern.h mfs_vfsops.c
src/sys/ufs/ufs: ufs_quota.c
src/sys/uvm: uvm_amap.c uvm_amap.h uvm_aobj.c uvm_extern.h uvm_map.c
uvm_page.c uvm_swap.c
Added Files:
src/sys/sys: mallocvar.h
Log Message:
Add extensible malloc types, adapted from FreeBSD. This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant. Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.
To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 src/sys/arch/x68k/dev/vs.c
cvs rdiff -r1.9 -r1.10 src/sys/coda/cnode.h
cvs rdiff -r1.20 -r1.21 src/sys/coda/coda_vfsops.c
cvs rdiff -r1.46 -r1.47 src/sys/dev/audio_if.h
cvs rdiff -r1.15 -r1.16 src/sys/dev/ic/interwave.c
cvs rdiff -r1.8 -r1.9 src/sys/dev/ic/interwavevar.h
cvs rdiff -r1.21 -r1.22 src/sys/dev/isa/ad1848_isa.c
cvs rdiff -r1.35 -r1.36 src/sys/dev/isa/ad1848var.h
cvs rdiff -r1.55 -r1.56 src/sys/dev/isa/ess.c
cvs rdiff -r1.50 -r1.51 src/sys/dev/isa/isadma.c src/sys/dev/isa/sbdspvar.h
cvs rdiff -r1.17 -r1.18 src/sys/dev/isa/isadmavar.h
cvs rdiff -r1.109 -r1.110 src/sys/dev/isa/sbdsp.c
cvs rdiff -r1.24 -r1.25 src/sys/dev/pci/agp.c
cvs rdiff -r1.4 -r1.5 src/sys/dev/pci/agpvar.h src/sys/dev/pci/cs428x.c \
src/sys/dev/pci/cs428x.h
cvs rdiff -r1.35 -r1.36 src/sys/dev/pci/auich.c
cvs rdiff -r1.13 -r1.14 src/sys/dev/pci/autri.c
cvs rdiff -r1.29 -r1.30 src/sys/dev/pci/auvia.c src/sys/dev/pci/eso.c
cvs rdiff -r1.17 -r1.18 src/sys/dev/pci/cmpci.c
cvs rdiff -r1.64 -r1.65 src/sys/dev/pci/eap.c
cvs rdiff -r1.15 -r1.16 src/sys/dev/pci/emuxki.c src/sys/dev/pci/yds.c
cvs rdiff -r1.19 -r1.20 src/sys/dev/pci/esa.c
cvs rdiff -r1.20 -r1.21 src/sys/dev/pci/esm.c
cvs rdiff -r1.7 -r1.8 src/sys/dev/pci/esmvar.h
cvs rdiff -r1.16 -r1.17 src/sys/dev/pci/fms.c src/sys/dev/pci/neo.c
cvs rdiff -r1.18 -r1.19 src/sys/dev/pci/sv.c
cvs rdiff -r1.1 -r1.2 src/sys/dev/raidframe/raidframevar.h
cvs rdiff -r1.152 -r1.153 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -r1.25 -r1.26 src/sys/dev/usb/usb_mem.c
cvs rdiff -r1.60 -r1.61 src/sys/dev/usb/usb_port.h
cvs rdiff -r1.1 -r1.2 src/sys/fs/adosfs/adosfs.h src/sys/fs/adosfs/advfsops.c
cvs rdiff -r1.1 -r1.2 src/sys/fs/cd9660/cd9660_extern.h \
src/sys/fs/cd9660/cd9660_vfsops.c
cvs rdiff -r1.1 -r1.2 src/sys/fs/filecorefs/filecore_extern.h \
src/sys/fs/filecorefs/filecore_vfsops.c
cvs rdiff -r1.1 -r1.2 src/sys/fs/msdosfs/msdosfs_vfsops.c \
src/sys/fs/msdosfs/msdosfsmount.h
cvs rdiff -r1.1 -r1.2 src/sys/fs/ntfs/ntfs.h src/sys/fs/ntfs/ntfs_vfsops.c
cvs rdiff -r1.2 -r1.3 src/sys/fs/ntfs/ntfs_subr.c
cvs rdiff -r1.2 -r1.3 src/sys/fs/smbfs/smbfs_node.c \
src/sys/fs/smbfs/smbfs_subr.c
cvs rdiff -r1.4 -r1.5 src/sys/fs/smbfs/smbfs_vfsops.c
cvs rdiff -r1.100 -r1.101 src/sys/kern/kern_descrip.c
cvs rdiff -r1.6 -r1.7 src/sys/kern/kern_event.c
cvs rdiff -r1.164 -r1.165 src/sys/kern/kern_exec.c
cvs rdiff -r1.76 -r1.77 src/sys/kern/kern_malloc.c src/sys/kern/uipc_socket.c
cvs rdiff -r1.9 -r1.10 src/sys/kern/kern_malloc_debug.c
cvs rdiff -r1.56 -r1.57 src/sys/kern/kern_proc.c
cvs rdiff -r1.70 -r1.71 src/sys/kern/kern_prot.c
cvs rdiff -r1.3 -r1.4 src/sys/kern/kern_sa.c src/sys/kern/uipc_sem.c
cvs rdiff -r1.96 -r1.97 src/sys/kern/kern_subr.c
cvs rdiff -r1.47 -r1.48 src/sys/kern/subr_extent.c
cvs rdiff -r1.26 -r1.27 src/sys/kern/subr_prof.c
cvs rdiff -r1.8 -r1.9 src/sys/kern/subr_prop.c
cvs rdiff -r1.33 -r1.34 src/sys/kern/sys_pipe.c
cvs rdiff -r1.66 -r1.67 src/sys/kern/sysv_shm.c
cvs rdiff -r1.23 -r1.24 src/sys/kern/tty_subr.c
cvs rdiff -r1.62 -r1.63 src/sys/kern/uipc_mbuf.c
cvs rdiff -r1.13 -r1.14 src/sys/kern/uipc_mbuf2.c
cvs rdiff -r1.37 -r1.38 src/sys/kern/vfs_cache.c
cvs rdiff -r1.21 -r1.22 src/sys/kern/vfs_lockf.c
cvs rdiff -r1.43 -r1.44 src/sys/kern/vfs_lookup.c
cvs rdiff -r1.185 -r1.186 src/sys/kern/vfs_subr.c
cvs rdiff -r1.180 -r1.181 src/sys/kern/vfs_syscalls.c
cvs rdiff -r1.46 -r1.47 src/sys/miscfs/kernfs/kernfs_vfsops.c
cvs rdiff -r1.116 -r1.117 src/sys/net/if.c
cvs rdiff -r1.83 -r1.84 src/sys/net/if.h
cvs rdiff -r1.71 -r1.72 src/sys/netinet6/in6.c
cvs rdiff -r1.33 -r1.34 src/sys/netinet6/in6_var.h src/sys/netinet6/nd6.h
cvs rdiff -r1.78 -r1.79 src/sys/netinet6/nd6.c
cvs rdiff -r1.8 -r1.9 src/sys/netkey/keydb.c
cvs rdiff -r1.12 -r1.13 src/sys/netkey/keydb.h
cvs rdiff -r1.30 -r1.31 src/sys/netns/spp_usrreq.c
cvs rdiff -r1.3 -r1.4 src/sys/netsmb/smb_conn.c src/sys/netsmb/smb_iod.c \
src/sys/netsmb/smb_rq.c src/sys/netsmb/smb_subr.c \
src/sys/netsmb/smb_subr.h
cvs rdiff -r1.9 -r1.10 src/sys/netsmb/smb_dev.c
cvs rdiff -r1.20 -r1.21 src/sys/nfs/nfs_bootparam.c
cvs rdiff -r1.56 -r1.57 src/sys/nfs/nfs_node.c
cvs rdiff -r1.43 -r1.44 src/sys/nfs/nfs_nqlease.c
cvs rdiff -r1.77 -r1.78 src/sys/nfs/nfs_socket.c
cvs rdiff -r1.53 -r1.54 src/sys/nfs/nfs_syscalls.c
cvs rdiff -r1.26 -r1.27 src/sys/nfs/nfs_var.h
cvs rdiff -r1.120 -r1.121 src/sys/nfs/nfs_vfsops.c
cvs rdiff -r1.51 -r1.52 src/sys/sys/Makefile
cvs rdiff -r1.3 -r1.4 src/sys/sys/event.h
cvs rdiff -r1.90 -r1.91 src/sys/sys/exec.h
cvs rdiff -r1.10 -r1.11 src/sys/sys/extent.h
cvs rdiff -r1.34 -r1.35 src/sys/sys/file.h
cvs rdiff -r1.83 -r1.84 src/sys/sys/malloc.h
cvs rdiff -r0 -r1.1 src/sys/sys/mallocvar.h
cvs rdiff -r1.72 -r1.73 src/sys/sys/mbuf.h
cvs rdiff -r1.98 -r1.99 src/sys/sys/mount.h
cvs rdiff -r1.26 -r1.27 src/sys/sys/namei.h
cvs rdiff -r1.157 -r1.158 src/sys/sys/param.h src/sys/sys/systm.h
cvs rdiff -r1.155 -r1.156 src/sys/sys/proc.h
cvs rdiff -r1.2 -r1.3 src/sys/sys/savar.h
cvs rdiff -r1.56 -r1.57 src/sys/sys/socketvar.h
cvs rdiff -r1.54 -r1.55 src/sys/sys/tty.h
cvs rdiff -r1.24 -r1.25 src/sys/sys/uio.h
cvs rdiff -r1.101 -r1.102 src/sys/sys/vnode.h
cvs rdiff -r1.42 -r1.43 src/sys/ufs/ffs/ffs_softdep.c
cvs rdiff -r1.36 -r1.37 src/sys/ufs/lfs/lfs_extern.h
cvs rdiff -r1.98 -r1.99 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -r1.13 -r1.14 src/sys/ufs/mfs/mfs_extern.h
cvs rdiff -r1.43 -r1.44 src/sys/ufs/mfs/mfs_vfsops.c
cvs rdiff -r1.22 -r1.23 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -r1.51 -r1.52 src/sys/uvm/uvm_amap.c
cvs rdiff -r1.21 -r1.22 src/sys/uvm/uvm_amap.h
cvs rdiff -r1.53 -r1.54 src/sys/uvm/uvm_aobj.c
cvs rdiff -r1.76 -r1.77 src/sys/uvm/uvm_extern.h
cvs rdiff -r1.129 -r1.130 src/sys/uvm/uvm_map.c
cvs rdiff -r1.82 -r1.83 src/sys/uvm/uvm_page.c
cvs rdiff -r1.74 -r1.75 src/sys/uvm/uvm_swap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.