summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Markup and grammar fixes.ru2005-01-243-23/+31
|
* Add an entry for Magic Ram, Inc's ETHERNET PC CARD 933926 card I justimp2005-01-241-0/+9
| | | | | won on ebay. Also, add a pointer to the PCMCIA's web site for the registered tuples (== manufacturer ID's).
* o Reorganize the previous delta to make it more style(9) compliant.maxim2005-01-241-3/+5
| | | | | | Submitted by: ru o Reduce an amount of memory we ask in advance.
* When "no_ccache" is set as an argument to the pam_krb5 module, don'trwatson2005-01-241-0/+4
| | | | | | | | | copy the acquired TGT from the in-memory cache to the on-disk cache at login. This was documented but un-implemented behavior. MFC after: 1 week PR: bin/64464 Reported and tested by: Eric van Gyzen <vangyzen at stat dot duke dot edu>
* Fix spelling in a comment.yar2005-01-241-1/+1
|
* Fix NULL pointer dereference bug when parsing IPV6CP traffic.bms2005-01-241-1/+5
| | | | | | | | | | This file is already off the vendor branch, and the fix will be in future tcpdump.org vendor branch imports. PR: bin/76497 MFC after: 1 week Obtained from: tcpdump.org rev 1.89.2.4 Discussed with: fenner, keramida
* Save a line by unlocking before we test.phk2005-01-241-2/+1
|
* Change vprint() to vn_printf() which takes varargs.phk2005-01-242-13/+17
| | | | Add #define for vprint() to call vn_printf().
* Fix an evil typo.glebius2005-01-241-1/+1
| | | | | Submitted by: Roselyn Lee MFC after: 3 days
* Remove unused cred argument to ext2_reload()phk2005-01-242-12/+6
|
* o Try hard to guess a buffer size for a fast growing routing table.maxim2005-01-241-5/+15
| | | | | | | | An approach taken from killall/killall.c. PR: bin/76075 Submitted by: Dmitrij Tejblum MFC after: 3 weeks
* Kill the VV_OBJBUF and test the v_object for NULL instead.phk2005-01-247-15/+7
|
* Fix a list corruption issue in cloning device management using thephk2005-01-241-16/+41
| | | | | western strategy ("allocate first, ask questions later") so we can extend the devmtx coverage to the clone list.
* Remove "register" keywords.phk2005-01-241-2/+2
|
* Remove unused cred arg from nfs_vinvalbuf() and many bogus argumentsphk2005-01-245-29/+21
| | | | passed for it.
* - Convert so_qlen, so_incqlen, so_qlimit fields of struct socket fromglebius2005-01-242-8/+29
| | | | | | | | | | | short to unsigned short. - Add SYSCTL_PROC() around somaxconn, not accepting values < 1 or > U_SHRTMAX. Before this change setting somaxconn to smth above 32767 and calling listen(fd, -1) lead to a socket, which doesn't accept connections at all. Reviewed by: rwatson Reported by: Igor Sysoev
* Polish style.phk2005-01-241-9/+4
|
* Style: Remove the commented out vop_foo_args replicas.phk2005-01-241-103/+15
|
* Update man pages to be in line with guidelines for IPv6 in FreeBSD.gnn2005-01-243-653/+17
| | | | | | | | | FreeBSD currently implements the most up to date IPv6 APIs for option and route header parsing. This checkin marks the older APIs as deprecated and points the reader to the newer pages. Reviewed by: Jun-ichiro Itojun Approved by: rwatson (mentor)
* - Somehow I mangled KTR_CRITICAL.jeff2005-01-241-1/+1
| | | | Spotted by: ru
* - Regen for recent vfs syscall changes.jeff2005-01-245-51/+51
| | | | Sponsored By: Isilon Systems, Inc.
* - Change all VFS syscalls to MSTD as they all manually deal with giantjeff2005-01-241-46/+46
| | | | | | or the appropriate filesystem locks. Sponsored By: Isilon Systems, Inc.
* - Remove GIANT_REQUIRED where giant is no longer required.jeff2005-01-244-22/+29
| | | | | | | - Use VFS_LOCK_GIANT() rather than directly acquiring giant in places where giant is only held because vfs requires it. Sponsored By: Isilon Systems, Inc.
* - Don't acquire giant around calls to bufdone().jeff2005-01-241-2/+0
| | | | Sponsored By: Isilon Systems, Inc.
* - Add CTR calls to trace the lifecycle of a buffer.jeff2005-01-241-79/+84
| | | | | | | | | | | | | | | | | - Remove some KASSERTs which are invalid if the appropriate lock is not held. - Slightly restructure bremfree() so that it is more sane. - Change the flush code in bdwrite() to avoid acquiring a mutex whenever possible. - Change the flush code in bdwrite() to avoid holding the bufobj mutex while calling buf_countdeps(). This introduces a lock-order relationship with the softdep lock that can not otherwise be resolved. - Don't set B_DONE until bufdone() is complete, otherwise another processor may believe the buf is done before it is. - Only acquire Giant if the caller has set b_iodone. Don't grab giant around normal bufdone() calls. Sponsored By: Isilon Systems, Inc.
* - Add the tunable and sysctl for the mpsafevfs. It currently defaultsjeff2005-01-241-37/+49
| | | | | | | | | | | | | | | to off. - Protect access to mnt_kern_flag with the mointpoint mutex. - Remove some KASSERTs which are not legal checks without the appropriate locks held. - Use VCANRECYCLE() rather than rolling several slightly different checks together. - Return from vtryrecycle() with a recycled vnode rather than a locked vnode. This simplifies some locking. - Remove several GIANT_REQUIRED lines. - Add a few KASSERTs to help with INACT debugging. Sponsored By: Isilon Systems, Inc.
* - Add a VCANRECYCLE() which performs all the checks required to ensurejeff2005-01-241-0/+6
| | | | that we are free to release a vnode.
* - Remove GIANT_REQUIRED where giant is no longer required.jeff2005-01-241-6/+0
| | | | Sponsored By: Isilon Systems, Inc.
* - Remove GIANT_REQUIRED where it is no longer required.jeff2005-01-241-4/+0
| | | | Sponsored By: Isilon Systems, Inc.
* - Remove GIANT_REQUIRED where giant is no longer required.jeff2005-01-241-54/+81
| | | | | | | | | | | | | - Protect access to mnt_kern_flag with the mountpoint mutex. - Use the appropriate nd flags to deal with giant in vn_open_cred(). We currently determine whether the caller is mpsafe by checking for a valid fdidx. Any caller coming from user-space is now mpsafe and supplies a valid fd. No kenrel callers have been converted to mpsafe, so this check is sufficient for now. - Use VFS_LOCK_GIANT instead of manual giant acquisition where appropriate. Sponsored By: Isilon Systems, Inc.
* - Protect mnt_kern_flag with the mountpoint's mutex. This is requiredjeff2005-01-241-7/+11
| | | | | | to make the suspend related functions mpsafe. Sponsored By: Isilon Systems, Inc.
* - Acquire and release Giant as we enter and leave filesystems whichjeff2005-01-241-6/+37
| | | | | | | | | require it. - Track the status of Giant with the nd flag HASGIANT. - Release giant on return of namei() callers are not marked MPSAFE as they already own giant. Sponsored By: Isilon Systems, Inc.
* - Change all vfs syscalls to use VFS_LOCK_GIANT(), and MPSAFE nds.jeff2005-01-242-200/+532
| | | | | | | - Move Giant acquisition into the few vfs syscalls that weren't already directly acquiring it. Sponsored By: Isilon Systems, Inc.
* - Simplify the cache locking. The lock order relationship with thejeff2005-01-241-37/+33
| | | | | | | | | vnode lock is much simpler than I originally thought it would be. Now, the cache lock is always acquired before the vnode lock. - Provide some gotos in __getcwd() to simplify the unlocking a bit. - Move Giant acquisition down into __getcwd(). Sponsored By: Isilon Systems, Inc.
* - Do not use APAUSE if LK_INTERLOCK is set. We lose synchronizationjeff2005-01-241-10/+19
| | | | | | | | if the lockmgr interlock is dropped after the caller's interlock is dropped. - Change some lockmgr KTRs to be slightly more helpful. Sponsored By: Isilon Systems, Inc.
* - Use VFS_LOCK_GIANT() in place of mtx_lock(&giant), etc.jeff2005-01-241-9/+9
| | | | Sponsored By: Isilon Systems, Inc.
* - Convert the global LK lock to a mutex.jeff2005-01-241-738/+454
| | | | | | | | | | | | | | | | | - Expand the scope of lk to cover not only interrupt races, but also top-half races, which includes many new uses over global top-half only data. - Get rid of interlocked_sleep() and use msleep or BUF_LOCK where appropriate. - Use the lk mutex in place of the various hand rolled semaphores. - Stop dropping the lk lock before we panic. - Fix getdirtybuf() callers so that they reacquire access to whatever softdep datastructure they were inxpecting in the failure/retry case. Previously, sleeps in getdirtybuf() could leave us with pointers to bad memory. - Update handling of ffs to be compatible with ffs locking changes. Sponsored By: Isilon Systems, Inc.
* - Initialize and destroy the per-filesystem ufs lock where appropriate.jeff2005-01-241-3/+24
| | | | | | | | - Use the buffer lock on the superblock buf to serialize calls to sbupdate. - Set the MNTK_MPSAFE flag when QUOTA is not defined in the kernel. Sponsored By: Isilon Systems, Inc.
* - Remove GIANT_REQUIRED where giant is no longer required.jeff2005-01-241-10/+0
| | | | Sponsored By: Isilon Systems, Inc.
* - Use the ufs lock to protect fs_active.jeff2005-01-241-10/+26
| | | | Sponsored By: Isilon Systems, Inc.
* - Acquire the ufs lock around several ffs_alloc functions that requirejeff2005-01-241-2/+23
| | | | | | it. Sponsored By: Isilon Systems, Inc.
* - Don't use atomic operations to deal with the active array, insteadjeff2005-01-241-96/+183
| | | | | | | | | | | | it is now quite naturally protected by the ufsmount mutex. - Use the ufs lock to protect various fields in struct fs, primarily the cg summary needs protection to avoid allocation races. Several functions have been slightly re-arranged to reduce the number of lock operations. - Adjust several functions (blkfree, freefile, etc.) to accept a ufsmount as an argument so that we may access the ufs lock. Sponsored By: Isilon Systems, Inc.
* - Acquire the ufs lock when manipulating some fields of struct fs.jeff2005-01-241-7/+13
| | | | | | | - Change arguments to various ffs functions to match their new prototypes. Sponsored By: Isilon Systems, Inc.
* - Mark the struct fs members that require the ufsmount mutex.jeff2005-01-241-7/+15
| | | | | | - Define some macros for manipulating the fs_active bitmap. Sponsored By: Isilon Systems, Inc.
* - Change some function parameters so that the ufsmount structure isjeff2005-01-241-3/+4
| | | | | | accessable in places where the ufs lock will be needed. Sponsored By: Isilon Systems, Inc.
* - Add a mutex to the ufsmount structure. This mutex is used to protectjeff2005-01-241-3/+8
| | | | | | | | | | any per-instance global data that is not already protected by a buf or vnode lock. Presently, only fields in ffs's struct fs utilize this lock. - Sort some ufsmount members so that fields used for quotas are grouped together. This is in anticipation of quota locking. Sponsored By: Isilon Systems, Inc.
* Force commit to note the sponsor of the VFS smp work:jeff2005-01-240-0/+0
| | | | Sponsored By: Isilon Systems, Inc.
* - Add two new flags to the nd structure. MPSAFE indicates that thejeff2005-01-241-16/+20
| | | | | | | | | | caller may not be holding Giant, and namei() should acquire it as necessary. HASGIANT is used to indicate when namei() is returning with a reference to a vnode that requires giant, and giant is locked. - Add the macro NDHASGIANT() which can be used in conjunction with VFS_UNLOCK_GIANT() in callers who have marked the nd with MPSAFE. Sponsored By: Isilon Systems, Inc.
* - Add the mount flag MNTK_MPSAFE which indicates whether or not Giantjeff2005-01-241-0/+24
| | | | | | must be held when any vnode owned by the filesystem is manipulated. - Add VFS_LOCK_GIANT and VFS_UNLOCK_GIANT macros which are used to conditionally lock and unlock Giant based on a particular mountpoint.
* - Add a new KTR class for the buffer cache.jeff2005-01-241-2/+3
|
OpenPOWER on IntegriCloud