freebsd-skq/sys
Don Lewis f535380cb6 Remove uidinfo hash table lookup and maintenance out of chgproccnt() and
chgsbsize(), which are called rather frequently and may be called from an
interrupt context in the case of chgsbsize().  Instead, do the hash table
lookup and maintenance when credentials are changed, which is a lot less
frequent.  Add pointers to the uidinfo structures to the ucred and pcred
structures for fast access.  Pass a pointer to the credential to chgproccnt()
and chgsbsize() instead of passing the uid.  Add a reference count to the
uidinfo structure and use it to decide when to free the structure rather
than freeing the structure when the resource consumption drops to zero.
Move the resource tracking code from kern_proc.c to kern_resource.c.  Move
some duplicate code sequences in kern_prot.c to separate helper functions.
Change KASSERTs in this code to unconditional tests and calls to panic().
2000-09-05 22:11:13 +00:00
..
alpha Add AS1200 (Tincup) to description 2000-09-04 20:47:35 +00:00
amd64 Catch a few more bogosities in certain chipsets before they mess us up. 2000-09-05 00:53:34 +00:00
boot This is real released software, let people think that. 2000-09-03 02:46:17 +00:00
cam Change the "Duplicate Wired Device entry" printout in camperiphnextunit to 2000-08-29 22:11:39 +00:00
coda Remove 42 unneeded #include <sys/ioccom.h>. 2000-05-03 07:31:38 +00:00
compat Remove obsolete comment (see rev 1.84 of procfs_vnops.c) 2000-09-04 18:19:04 +00:00
compile
conf Merged from sys/conf/files.i386 revisions 1.325 and 1.326. 2000-09-03 14:47:00 +00:00
contrib/dev Install mode 644, not mode 664 during kernel compile. Yes, Peter, I am 2000-08-15 11:06:56 +00:00
crypto sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
ddb Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
dev initial support for multiple ac97 codecs 2000-09-05 21:08:01 +00:00
fs Various cleanups towards make nullfs functional (it is still broken 2000-09-05 09:02:07 +00:00
geom Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
gnu sync CCR register definitions with creative sources 2000-08-06 20:58:11 +00:00
i4b Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
i386 Catch a few more bogosities in certain chipsets before they mess us up. 2000-09-05 00:53:34 +00:00
isa Add ZTIA001 - Zoom Internal V90 Faxmodem. 2000-09-05 09:42:47 +00:00
isofs/cd9660 o Restructure vaccess() so as to check for DAC permission to modify the 2000-08-29 14:45:49 +00:00
kern Remove uidinfo hash table lookup and maintenance out of chgproccnt() and 2000-09-05 22:11:13 +00:00
libkern Comment out unavailable call. This needs to be revisited when the entropy 2000-06-25 10:15:58 +00:00
miscfs Various cleanups towards make nullfs functional (it is still broken 2000-09-05 09:02:07 +00:00
modules Fix typo 2000-09-04 03:59:41 +00:00
msdosfs o Restructure vaccess() so as to check for DAC permission to modify the 2000-08-29 14:45:49 +00:00
net o Add missing "\n" to warning output in netinet/if_loop.c, when an 2000-09-04 21:46:27 +00:00
netatalk Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netatm Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netgraph New netgraph node type for Ethernet bridging. 2000-09-01 01:37:13 +00:00
netinet Match IPPROTO_ICMP with IP protocol field of the original IP 2000-09-01 16:38:53 +00:00
netinet6 repair type 0 routing header support. it was caused by RFC2292/2292bis 2000-09-03 13:43:13 +00:00
netipx Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
netkey make sure we have IV that is random enough. memory allocator on 2000-08-28 08:24:46 +00:00
netnatm Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
netncp Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
netns Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
nfs This patch corrects the first round of panics and hangs reported 2000-07-24 05:28:33 +00:00
nfsclient This patch corrects the first round of panics and hangs reported 2000-07-24 05:28:33 +00:00
nfsserver This patch corrects the first round of panics and hangs reported 2000-07-24 05:28:33 +00:00
ntfs o Restructure vaccess() so as to check for DAC permission to modify the 2000-08-29 14:45:49 +00:00
nwfs Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
pc98 Merged from sys/i386/i386/machdep.c revision 1.405. 2000-09-03 15:55:34 +00:00
pccard Add a detach method to allow this device to be unloaded. 2000-08-30 06:57:38 +00:00
pci Register resources in a more opportune order for the hardware. 2000-09-05 21:08:48 +00:00
posix4 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
powerpc Support bounce buffers for ISA DMA on the alpha. This is required for the 2000-06-19 18:41:27 +00:00
rpc
sys Remove uidinfo hash table lookup and maintenance out of chgproccnt() and 2000-09-05 22:11:13 +00:00
tools remove crufty exec stuff, perl is in the base system 2000-06-27 19:09:55 +00:00
ufs Modify extended attribute protection model to authorize based on 2000-09-02 20:31:26 +00:00
vm Make the arguments match the functionality of the functions. 2000-08-26 04:51:39 +00:00
Makefile I should know better than to touch this without testing a 'make release' 2000-08-24 18:53:09 +00:00