| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
open where people can see them and hopefully fix them.
|
|
|
|
|
|
|
| |
{ip,udp,tcp} header and return a void * pointing to the payload (i.e. the
first byte past the end of the header and any required padding). Use them
consistently throughout libalias to a) reduce code duplication, b) improve
code legibility, c) get rid of a bunch of alignment warnings.
|
|
|
|
|
| |
- add call to thread_user_enter for P_SA processes before
trap processing ala all other arches
|
| |
|
| |
|
|
|
|
| |
for a mount.
|
|
|
|
|
| |
Export NFS mount state via sysctl.
Export timeout via sysctl.
|
|
|
|
|
|
| |
a short pointer. The previous implementation seems to be in a gray zone
of the C standard, and GCC generates incorrect code for it at -O2 or
higher on some platforms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rebind the client socket when we experience a timeout. This fixes
the case where our IP changes for some reason.
Signal a VFS event when NFS transitions from up to down and vice
versa.
Add a placeholder vfs_sysctl where we will put status reporting
shortly.
Also:
Make down NFS mounts return EIO instead of EINTR when there is a
soft timeout or force unmount in progress.
|
|
|
|
| |
alpha.
|
|
|
|
|
|
|
|
|
|
| |
(but keep it conditional on __ISO_C_VISIBLE >= 1999.
Why? Our out /usr/src/contrib assumes it, and more than a few ports have
an autoconf that looks for __va_copy because it is available on glibc.
It is critical that we use it on PowerPC. It generally isn't a problem
for i386 and its ilk because those platforms can get away with cheating
the C standard, using a plain assignment.
|
|
|
|
|
|
| |
(This one was the last, according to grep(1).)
Submitted by: Gleb Smirnoff
|
|
|
|
|
|
|
|
|
| |
hangs due to recent preemption changes. This change appears to remove
the panic that I was running into, but at the cost of increasing
ithread scheduling latency, and as such is a temporary band-aid until
jhb has a chance to resolve the ule<->preemption interaction that is
the source of the problem. If it doesn't fix the problem for others--
sorry!
|
|
|
|
| |
building with -O2.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
to watch at hi-res.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
vm_offset_t.
- Convert pmap_extract() to the ANSI style of declaration.
|
|
|
|
| |
vm_offset_t.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Space before bracketized non-void function returns.
- Space before condition for conditional blocks.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
so that last_work_seen has a reasonable value at the transition
to the SYNCER_SHUTTING_DOWN state, even if net_worklist_len happened
to be zero at the time.
Initialize last_work_seen to zero as a safety measure in case the
syncer never ran in the SYNCER_RUNNING state.
Tested by: phk
|
|
|
|
|
|
| |
less dangerous.
- Update manual pages and extend examples.
- Bump versions.
|
|
|
|
|
|
| |
device is open. This allows certain old and rather special dual
floppy controllers to work on both channels, as long as you only
have one open at a time.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When two drivers share an ISA DMA channel, they both call isa_dmainit()
and the second call fails if DIAGNOSTIC is on.
If isa_dmainit() was already called successfully, just return silently.
This only works if both drivers agree on the bounce buffer size,
but since sharing DMA is usually only possible on very special
hardware and then typically only for devices of the same type (which
would have multiple instances of the same device driver), this is
not a problem in practice.
|
|
|
|
|
|
| |
A subset of locking changes to soreceive() in the queue for merging.
Bumped into by: Willem Jan Withagen <wjw@withagen.nl>
|
|
|
|
|
|
|
|
| |
belong in the respective drivers. I've not removed ALL of them, as a
few still haven't moved. I've just removed the ones that aren't used.
# these can be removed from amd64, but I'm having issues getting to
# sledge at the moment for a build.
|
| |
|
|
|
|
| |
hole, so call them ISA Options rom(s).
|
|
|
|
|
|
| |
Add partial pmap locking.
Tested by: kensmith@
|
|
|
|
| |
without Giant if we're not debug.mpsafenet=1.
|
|
|
|
| |
Approved by: le
|
|
|
|
|
|
|
|
|
| |
named link, foo_link or link_foo to lnk, foo_lnk or lnk_foo, fixing
signed / unsigned comparisons, and shoving unused function arguments
under the carpet.
I was hoping WARNS?=6 might reveal more serious problems, and perhaps
the source of the -O2 breakage, but found no smoking gun.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Eliminate the use of a recursive mutex.
- Mark the driver INTR_MPSAFE.
This work is incomplete and will be refined in a future commit.
- Most notably, _locked() variants of entry points need to be introduced.
- The mii upcall/downcall may still be racy.
- Add a stubbed-out guard against racing rl_detach() for the time being.
Tested on: UP, debug.mpsafenet && !debug.mpsafenet
Reviewed by: silence on -net
|
|
|
|
|
|
|
|
| |
Use C99 types. Use ANSI function definitions. Sort prototypes.
Split long lines correctly. Punctuate/wordsmith comments.
Use device_printf()/if_printf() where possible.
Reviewed by: -net (silence)
|