| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
declaring a static function.
- Modify TUNABLE_*_DECL() to use TUNABLE_*_FETCH() to avoid code
duplication.
Reviewed by: peter
|
|
|
|
|
|
| |
incompletely converting simplelocks to mutexes (COM_LOCK() is supposed
to hide the SMP locking internals, but it now depends on mutex interfaces
being visible).
|
|
|
|
|
| |
The normal versions are called if_ar.ko and if_sr.ko and the netgraph
versions ng_sync_ar.ko and ng_sync_sr.ko.
|
|
|
|
| |
This seems to fix the problem which md(4) backed filesystems exposed.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Existences revealed, but no details offered by: bp
|
|
|
|
| |
Submitted by: Peter Wemm <peter@freebsd.org>
|
|
|
|
|
|
|
|
|
|
|
| |
filesystem softdep_process_worklist() is called in a loop until it indicates
that no dependancies remain, but the determination of that fact depends on
there only being one softdep_process_worklist() instance running. It was
possible for the syncer to also be running softdep_process_worklist()
and the pre-existing checks in the code to prevent this were not sufficient
to prevent the race. This patch solves the problem.
Approved-by: mckusick
|
|
|
|
| |
BSP and AP startup.
|
|
|
|
| |
PS_IDLESTACK_TOP
|
|
|
|
| |
pointers.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add a note about the special locking semantics used for members such as
p_cred that are read by multiple processes but only written to by the
current process.
- Change p_upages_obj's locking key to note that it is created at fork
and left alone afterwards (the actual pointer, not what it points to.)
- Mark p_intr_nesting_level as being implicitly locked since only curproc
accesses it.
Reviewed by: jake
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
valid) if BPF is missing.
The netgraph_bpf node forced bpf to be present, reflect that in the
options.
Stop doing a 'count bpf' - we provide stubs.
Since a handful of drivers still refer to "bpf.h", provide a more accurate
indication that the API is present always. (eg: netinet6)
|
| |
|
| |
|
|
|
|
|
|
|
| |
With this flag set malloc() will panic if memory allocation failed.
This usable only in critical places where failed allocation is fatal.
Reviewed by: peter
|
|
|
|
| |
a warning if it was missing.
|
|
|
|
| |
(bogus) to something that we test for the presence of.
|
| |
|
|
|
|
|
| |
case. Use an 'and' case in conf/files so that it only gets compiled if
pci is present.
|
|
|
|
| |
My searching for NLOOP missed them. :-(
|
|
|
|
| |
back to standard 'optional'.
|
| |
|
|
|
|
|
|
|
| |
would *want* to is a different story, but it used to be able to be done
statically. Get rid of #include "loop.h" and struct ifnet loif[NLOOP];
This could be used as an example of how to do this in other drivers,
for example: ccd.
|
| |
|
|
|
|
| |
trying to count the number of ata* devs since they were not used anyway.
|
| |
|
|
|
|
|
| |
These were compile-time "is the isa code present?" tests and not
'how many isa busses' tests.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fsyncs, which typically occur during unmounting, will drain all dirty
buffers even if it takes multiple passes to do so. The guarentee was
mangled by the last patch which solved a problem due to -current disabling
interrupts while holding giant (which caused an infinite spin loop waiting for
I/O to complete). -stable does not have either patch, but has a similar
bug in the original spec_fsync() code which is triggered by a bug in the
softupdates umount code, a fix for which will be committed to -current
as soon as Kirk stamps it. Then both solutions will be MFC'd to -stable.
-stable currently suffers from a combination of the softupdates bug and
a small window of opportunity in the original spec_fsync() code, and -stable
also suffers from the spin-loop bug but since interrupts are enabled the
spin resolves itself in a few milliseconds.
|
|
|
|
|
| |
of 'NEISA' - userconfig.c.
While there, send some defunct code to the file history.
|
|
|
|
| |
Submitted by: tegge
|
|
|
|
|
|
|
|
|
|
| |
folks.
My guess is that reducing the number of tags is just masking the real
problem for the PR submitter. I'll re-open the PR and see if I can work
with the submitter to diagnose the problem.
PR: 21139
|
|
|
|
|
|
| |
machines (duh!). This was one reason why this script broke on
i386. The other being that on i386 sections did not have the
proper alignment. This has been fixed in sys/sys/linker_set.h.
|
|
|
|
|
|
|
| |
declarations will not be aligned by default.
o Remove the alignment work-around for alpha. Our current alpha
as(1) does not assume alignment after section switching, nor
does the ia64 as(1).
|
| |
|
|
|
|
| |
Reported by: Andrew Gordon <arg@arg1.demon.co.uk>
|
| |
|
|
|
|
| |
Spotted: tegge
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- When used on a 33MHz PCI BUS, the 53C1010-66 revision 0
requires extra clocks to be inserted in data out phase.
Revision 1 is fixed.
- The 53C1010-33 revision 1 requires internal cycles to be
disabled due to possible contentions on IO registers.
Revision 2 is fixed.
Fix:
- The probing of HVD from GPIO3 bit by the driver was reversed.
The driver could misprobe the bus mode of a 825 or 875 chip
that was not previously initialized (no BIOS for example).
|