freebsd-dev/sys
Peter Wemm 461b36ab54 Update userref handling after discussion with submitter of previous
patch.  lf can't be dereferenced after the unload attempt, in case it
was freed.  Instead, decrement first and back it out if the unload failed.
This should be relatively immune to races caused by the user since the
userref count will be zero for the duration of the actual unloading and
will stop further kldunload attempts.

Submitted by:   Ustimenko Semen <semen@iclub.nsu.ru>
1999-01-23 03:45:22 +00:00
..
alpha This is a rather large commit that encompasses the new swapper, 1999-01-21 08:29:12 +00:00
amd64 This is a rather large commit that encompasses the new swapper, 1999-01-21 08:29:12 +00:00
boot Add EXCEPTION word set. 1999-01-22 23:52:59 +00:00
cam This is a rather large commit that encompasses the new swapper, 1999-01-21 08:29:12 +00:00
coda Add 'options DEBUG_LOCKS', which stores extra information in struct 1999-01-20 14:49:12 +00:00
compat Fix linux sendmsg() emulation 1999-01-11 05:28:44 +00:00
compile
conf Add vinumdaemon.c; sort vinum entries. 1999-01-23 01:25:59 +00:00
contrib/softupdates Gutted softdep_deallocate_dependencies and replaced it with a panic. It 1999-01-22 09:07:32 +00:00
ddb Replace includes of <sys/kernel.h> with includes of 1999-01-14 06:22:10 +00:00
dev Minor tweak to fix 'pseudo-device vinum'. One of these got lost before, 1999-01-23 01:29:05 +00:00
fs This is a rather large commit that encompasses the new swapper, 1999-01-21 08:29:12 +00:00
geom Convert ccd to a proper module vs. something started by PSEUDO_SET(). 1999-01-22 22:38:28 +00:00
gnu Remove LKM support, src/lkm that built it is gone and it never worked as an 1999-01-17 20:28:12 +00:00
i4b Update the pccard hooks to use a module style declaration instead. 1999-01-19 00:21:53 +00:00
i386 Move EXT2FS to be more visible, and give it a description. Also make 1999-01-21 09:24:28 +00:00
isa I guess this is now a legacy driver (for alpha only right now). 1999-01-20 18:27:31 +00:00
isofs/cd9660 Mountroot could concievably make sense to a KLD though, in the preload 1999-01-17 20:41:02 +00:00
kern Update userref handling after discussion with submitter of previous 1999-01-23 03:45:22 +00:00
libkern - Fix modulo bug. 1998-12-01 05:29:06 +00:00
miscfs This is a rather large commit that encompasses the new swapper, 1999-01-21 08:29:12 +00:00
modules Make the -I paths closer to what happens when compiling as part of the 1999-01-23 01:32:44 +00:00
msdosfs Now empty DOS filesystems default to long file names. Non-empty filesystems 1999-01-02 18:52:13 +00:00
net This is a rather large commit that encompasses the new swapper, 1999-01-21 08:29:12 +00:00
netatalk De-staticize and add prototype for main debug function. I'll turn 1999-01-12 12:09:27 +00:00
netatm Prevent duplicate output lines from 'atm show arpserver' command on systems 1999-01-19 23:16:11 +00:00
netinet Don't forward unicast packets received via link-layer multicast. 1999-01-22 16:50:45 +00:00
netipx Remove functions that are no longer in use. 1999-01-12 12:37:18 +00:00
netkey #ifdef out unused function key_freetables. 1999-01-12 12:38:31 +00:00
netnatm Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
netns Make INET a proper option. 1998-01-08 23:42:31 +00:00
nfs This is a rather large commit that encompasses the new swapper, 1999-01-21 08:29:12 +00:00
nfsclient This is a rather large commit that encompasses the new swapper, 1999-01-21 08:29:12 +00:00
nfsserver This is a rather large commit that encompasses the new swapper, 1999-01-21 08:29:12 +00:00
pc98 Remove 'alog'. 1999-01-20 08:31:56 +00:00
pccard Initial update pccard code for KLD module support. Module support 1999-01-19 00:18:28 +00:00
pci Multicast code isn't quite correct. The RealTek wants the upper six bits 1999-01-22 15:25:04 +00:00
posix4 Set PAGE_SIZE for _SC_PAGESIZE sysconf(). 1998-06-01 21:54:43 +00:00
powerpc Various changes to support OSF1 emulation: 1998-12-30 10:38:59 +00:00
rpc
sys __FreeBSD_version -> 400000 1999-01-22 08:39:58 +00:00
tools Make the vnode opv vector construction fully dynamic. Previously we 1998-11-10 09:04:09 +00:00
ufs Gutted softdep_deallocate_dependencies and replaced it with a panic. It 1999-01-22 09:07:32 +00:00
vm Mainly changes to support the new swapper. The big adjustment is that 1999-01-21 10:17:12 +00:00
Makefile Backed out previous commit. It depends on a.out utilities and libraries 1998-12-30 12:06:08 +00:00