| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
- Fixed markup.
- Minor wordsmithing.
|
| |
|
|
|
|
|
|
|
| |
MNTK_SUSPEND flag on the correct vnode pointer in softdep_disk_prewrite().
Reviewed by: phk
Tested by: kensmith
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
for INET6-less kernel.
Requested by: many
Approved by: bms(mentor)
|
| |
|
|
|
|
|
| |
taking shortcuts when it comes to storing and passing around conversion
states.
|
|
|
|
|
| |
Requested by: Mark Johnston <mjohnston at skyweb dot ca>
MFC after: 1 days
|
|
|
|
|
|
| |
encoding.
MFC after: 3 days
|
|
|
|
|
| |
Requested by: Mark Johnston <mjohnston at skyweb dot ca>
MFC after: 1 days
|
|
|
|
| |
MFC after: 1 days
|
|
|
|
|
| |
Requested by: Mark Johnston <mjohnston at skyweb dot ca>
MFC after: 1 days
|
|
|
|
|
|
|
| |
by increasing the TX list size from 64 to 128, which is
adequate for HZ=1000.
Submitted by: Vsevolod Lobko
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Reminded by: ru
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Use sf_buf_alloc() and sf_buf_free() instead.
|
|
|
|
| |
condition flags. Corrections, if appropriate, welcome.
|
| |
|
|
|
|
|
|
| |
per letter dated July 22, 1999 and email from Peter Wemm.
Approved by: core, peter
|
|
|
|
|
|
| |
per letter dated July 22, 1999.
Approved by: core
|
|
|
|
|
|
|
| |
PR: gnu/65209
Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
Discussed with: julian,deischen
MFC after: 1 day
|
|
|
|
|
|
| |
include FCS; if you want to provide it you can put it in the header.
Submitted by: David Young
|
|
|
|
|
|
| |
inclusion of <sys/malloc.h>
Submitted by: bde
|
| |
|
|
|
|
|
|
| |
per letter dated July 22, 1999.
Approved by: core
|
|
|
|
|
|
| |
per letter dated July 22, 1999 and permission from Alan Cox.
Approved by: core, alc@
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
per letter dated July 22, 1999.
Approved by: core
|
|
|
|
| |
Approved by: core
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| | |
that's coming soon
Obtained from: madwifi
|
| | |
|
| |
| |
| |
| |
| |
| | |
- Added polling(4) support!
- Bugfix: don't forget to set IFF_OACTIVE when TX list is full.
- Minor: tidy up vr_encap().
|
| |
| |
| |
| | |
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
|
| |
| |
| |
| | |
Submitted by: des
|
| |
| |
| |
| |
| |
| |
| | |
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. ;)
|