summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Overdue bump of the document date.ru2004-04-061-17/+19
| | | | | - Fixed markup. - Minor wordsmithing.
* Use the correct flag for mbuf allocations (M_DONTWAIT, not M_NOWAIT).iedowse2004-04-061-2/+2
|
* Fix a paste-o from the buf_prewrite() cleanup commit and check for thejhb2004-04-061-1/+1
| | | | | | | MNTK_SUSPEND flag on the correct vnode pointer in softdep_disk_prewrite(). Reviewed by: phk Tested by: kensmith
* Associate a simple count of waiters with each condition variable. Thejhb2004-04-062-3/+18
| | | | | | | | | | | | | count is protected by the mutex that protects the condition, so the count does not require any extra locking or atomic operations. It serves as an optimization to avoid calling into the sleepqueue code at all if there are no waiters. Note that the count can get temporarily out of sync when threads sleeping on a condition variable time out or are aborted. However, it doesn't hurt to call the sleepqueue code for either a signal or a broadcast when there are no waiters, and the count is never out of sync in the opposite direction unless we have more than INT_MAX sleeping threads.
* Add a new kernel option MUTEX_WAKE_ALL that changes the mutex unlock codejhb2004-04-062-0/+11
| | | | | | | | | | | | | to awaken all waiters when a contested mutex is released instead of just the highest priority waiter. If the various threads are awakened in sequence then each thread may acquire and release the lock in question without contention resulting in fewer expensive unlock and lock operations. This old behavior of waking just the highest priority is still used if this option is specified. Making the algorithm conditional on a kernel option will allows us to benchmark both cases later and determine which one should be used by default. Requested by: tanimura-san
* Sort function prototypes.jhb2004-04-061-3/+3
|
* Rename turnstile_wakeup() to turnstile_broadcast() to make the namingjhb2004-04-062-5/+5
| | | | | | more consistent with other APIs. sleepq and cv's use signal/broadcast, and msleep uses wakeup_one/wakeup. Prior to this turnstiles were using a signal/wakeup mixture.
* Enable the memory arbiter before turning off the PXE restart. Thisps2004-04-061-4/+4
| | | | | | | prevents NMI's from happening when resetting the chip on some hardware I have seen. Mis-behaving box made available by: John Cagle <john.cagle@hp.com>
* Split ramdisk processing in two so it can actually work. Ownershipswes2004-04-062-12/+60
| | | | | | | | and permissions specified per rc.conf(5) now apply both to the md device and to the mountpoint directory, after the mount has completed. This has to be done in two steps, because chown is not available until after /usr has been mounted, but the mdconfig and newfs steps have to complete before fstab processing.
* Connect bsdtar to the build.kientzle2004-04-061-0/+1
|
* Make pf* modules respect NOINET6 from make.conf(5) in order to build themmlaier2004-04-063-0/+12
| | | | | | | for INET6-less kernel. Requested by: many Approved by: bms(mentor)
* MFi386: Enable the cy driver.nyan2004-04-061-2/+2
|
* Prepare to handle state-dependent encodings. This mainly involves nottjr2004-04-0612-71/+87
| | | | | taking shortcuts when it comes to storing and passing around conversion states.
* Remove hyphen between product and company name. This may confuse peoples.rik2004-04-063-3/+3
| | | | | Requested by: Mark Johnston <mjohnston at skyweb dot ca> MFC after: 1 days
* Workaround for servers that ignore byte ranges when using chunkeddes2004-04-061-1/+1
| | | | | | encoding. MFC after: 3 days
* Remove hyphen between prodoct and company name. This may confuse peoples.rik2004-04-062-2/+2
| | | | | Requested by: Mark Johnston <mjohnston at skyweb dot ca> MFC after: 1 days
* Add list of models for Cronyx Sigma.rik2004-04-062-2/+44
| | | | MFC after: 1 days
* Remove hyphen between prodoct and company name. This may confuse peoples.rik2004-04-062-4/+4
| | | | | Requested by: Mark Johnston <mjohnston at skyweb dot ca> MFC after: 1 days
* Actually fix the TX performance with polling(4) enabledru2004-04-062-2/+2
| | | | | | | by increasing the TX list size from 64 to 128, which is adequate for HZ=1000. Submitted by: Vsevolod Lobko
* Fixed misspelling of IPPORT_MAX as USHRT_MAX. Don't include <sys/limits.h>bde2004-04-061-9/+9
| | | | | | | | | to implement this mistake. Fixed some nearby style bugs (initialization in declaration, misformatting of this initialization, missing blank line after the declaration, and comparision of the non-boolean result of the initialization with 0 using "!". In KNF, "!" is not even used to compare booleans with 0).
* Removed some less than useful comments:bde2004-04-062-136/+0
| | | | | | | | | - don't say what a small subset of the options includes are for. - don't mark up functions which use all their args with /* ARGSUSED */. The markup should have been removed when the unused retval parameter was removed. - don't comment on what routine suser() checks do. Removed nearby excessive vertical whitespace.
* Add a missing "*errp = h_errno" forgotten in rev 1.36.pb2004-04-061-1/+2
|
* Oops, fixed insertion sort error in the fix for an insertion sort error.bde2004-04-061-9/+8
| | | | | | | | | | | | While here, begin fixing dependencies of <sys/mount.h> on normal namespace pollution (__BSD_VISIBLE) by not using u_int in the prototype for nmount(2), although it is used in the man page. While there, begin cleaning up another set of prototypes: - use u_int in the prototype for the kernel part of nmount(). - consistently don't use parameter names in prototypes in the "exported vnode operations" set of prototypes, although style(9) says to use names in the kernel.
* Update .Dd value.dfr2004-04-061-1/+1
| | | | Reminded by: ru
* Fixed unsorting of prototypes in previous commit and 1.134.bde2004-04-061-2/+2
|
* - Improved the TX performance with polling(4) by only checking theru2004-04-062-16/+11
| | | | | | | | | | | | | status registers for error conditions and updating statistics when there are cycles left (inspired by the nge(4) driver). - Removed the TX list counter and the producer/consumer gap; it's enough to just ensure we don't reuse the last (free) descriptor, as the chip may not have read its next pointer yet. If we reuse it, the TX may stall under a heavy TX load with polling enabled. - Dropped code to recharge the watchdog timer, it's pointless; the watchdog routine will re-init the chip and both RX and TX lists.
* Eliminate vm_pager_map_page() and vm_pager_unmap_page() and their uses.alc2004-04-063-32/+12
| | | | Use sf_buf_alloc() and sf_buf_free() instead.
* Add imperfect comments identifying the function of various nfs socketrwatson2004-04-061-6/+6
| | | | condition flags. Corrections, if appropriate, welcome.
* Remove avail_end. As of yesterday, it is unused.alc2004-04-062-3/+0
|
* Remove advertising clause from University of California Regent's license,imp2004-04-0510-40/+0
| | | | | | per letter dated July 22, 1999 and email from Peter Wemm. Approved by: core, peter
* Remove advertising clause from University of California Regent's license,imp2004-04-059-36/+0
| | | | | | per letter dated July 22, 1999. Approved by: core
* Add a new threads category.ceri2004-04-051-0/+1
| | | | | | | PR: gnu/65209 Submitted by: Craig Rodrigues <rodrigc@crodrigues.org> Discussed with: julian,deischen MFC after: 1 day
* Resolve the issue of whether frames have FCS or not. Frame data does notsam2004-04-051-0/+5
| | | | | | include FCS; if you want to provide it you can put it in the header. Submitted by: David Young
* eliminate nested include by making MALLOC_DECLARE conditional on thesam2004-04-052-1/+2
| | | | | | inclusion of <sys/malloc.h> Submitted by: bde
* Initial commit for bsdtar.kientzle2004-04-059-0/+2977
|
* Remove advertising clause from University of California Regent's license,imp2004-04-0537-148/+0
| | | | | | per letter dated July 22, 1999. Approved by: core
* Remove advertising clause from University of California Regent's license,imp2004-04-051-4/+0
| | | | | | per letter dated July 22, 1999 and permission from Alan Cox. Approved by: core, alc@
* Overhauled ACL support. This makes us compatiblekientzle2004-04-0521-194/+1239
| | | | | | | | | | | | with 'star' ACL handling, though there's still a bit more work needed in this area. Added 'write_open_fd' and 'read_open_fd' to simplify, e.g., tar's u and r modes. Eliminated old 'write_open_file_position' as a bad idea. (It required closing/reopening files to do updates, which led to unpleasant implications.) Various other minor fixes, API tweaks, etc.
* Remove advertising clause from University of California Regent's license,imp2004-04-0556-228/+0
| | | | | | per letter dated July 22, 1999. Approved by: core
* Remove the advertsing clause, per the Regent's letter dated July 22, 1999.imp2004-04-0518-77/+0
| | | | Approved by: core
* Fix _dns_ghbyname() to return NS_TRYAGAIN instead of NS_NOTFOUNDpb2004-04-051-4/+12
| | | | | | | | | on temporary nameserver failure. This is necessary to get getipnodebyname(3) to correctly return h_errno=TRY_AGAIN instead of HOST_NOT_FOUND. Reviewed by: green, thomas MFC after: 1 week
* Uncomment the cy driver since it works again.bde2004-04-051-3/+2
|
* This commit was generated by cvs2svn to compensate for changes in r127904,nectar2004-04-051-4/+9
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Repair a regression in OpenSSL 0.9.7d: processing an unsigned PKCS#7nectar2004-04-051-4/+9
| | | | | | | | | | | | | | | | object could cause a null pointer dereference. Obtained from: OpenSSL CVS (change number 12080) MFC After: 1 day Reported by: Daniel Lang <dl@leo.org>
* | add definitions for WME, WPA (and WPA2), and miscellaneous other stuffsam2004-04-051-1/+145
| | | | | | | | | | | | that's coming soon Obtained from: madwifi
* | polling(4) meets vr(4).ru2004-04-051-2/+3
| |
* | - Rewritten TX to use only two pointers to track producer/consumer.ru2004-04-054-254/+322
| | | | | | | | | | | | - Added polling(4) support! - Bugfix: don't forget to set IFF_OACTIVE when TX list is full. - Minor: tidy up vr_encap().
* | Unbreak the bootloader build by excluding ctype.h.njl2004-04-051-0/+2
| | | | | | | | Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
* | Unbreak compilation on RELENG_4.ru2004-04-051-1/+1
| | | | | | | | Submitted by: des
* | Properly detect loops by recording the interface pointer in an mtag.ru2004-04-052-20/+33
| | | | | | | | | | | | | | For now, preserve the gif_called functionality to limit the nesting level because uncontrolled nesting can easily cause the kernel stack exhaustion. Rumors are it should be shot to allow people to easily shoot themselves in the foot, but I have ran out of cartridges. ;)
OpenPOWER on IntegriCloud