| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Turn the sigio sx into a mutex.
Sigio lock is really only needed to protect interrupts from dereferencing
the sigio pointer in an object when the sigio itself is being destroyed.
In order to do this in the most unintrusive manner change pgsigio's
sigio * argument into a **, that way we can lock internally to the
function.
|
|
|
|
| |
Instead, don't run kldxref if you don't have one on your system.
|
|
|
|
|
|
|
|
|
|
|
| |
we don't collect any stats in it, we mii_tick() in it! This fix the bug
when autonegotiating fullduplex modes.
Also, pause activity before setting TXCON in epic_miibus_statchg(). Though
i've never seen problmes from not doing that, the documentation says we
need to do it.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
| |
well as is, so - just fetch current status upon MII_TICK.
Also do IFM_INST verification at the top of *_service() then doing it
separately for every case in switch.
acphy: do not read MII_ACPHY_DIAG twice, there is nothing latching.
qsphy: always fetch actual link status from MII_QSPHY_PCTL.
MFC after: 1 week
|
|
|
|
| |
MTX_NOSWITCH flag was deprecated a while ago.
|
|
|
|
| |
Submitted by: ps
|
|
|
|
| |
fix line wraps, add some comments, fix macro definitions, fix for(;;) loops.
|
|
|
|
|
|
| |
It is a bit late after that when we have no consoles. :-]
Also, fix a comment nit and print a warning about missing metadata.
|
|
|
|
| |
otherwise #include "aicasm.h" etc do not work with gcc-3 and later.
|
|
|
|
|
|
|
|
|
| |
more on how ipfw(8) deals with tiny fragments. While we're at it, add
a quick log message to even let people know we dropped a packet. (Note
that the second FINE POINT is somewhat redundant given the first, but
since the code is there, leave the docs for it.)
MFC after: 1 day
|
|
|
|
| |
psl.h is 100% bogus to be referenced here, especially from alpha MD code.
|
| |
|
| |
|
|
|
|
| |
(with big thanks to Oliver Fromme <olli@fromme.com>)
|
|
|
|
|
|
|
| |
Note the invocation ordering is slightly different:
awk -f makeobjops.awk foo.m -ch
Submitted by: Oliver Fromme <olli@fromme.com>
|
| |
|
|
|
|
| |
whitespace and update a comment.
|
|
|
|
| |
a stub on alpha). Compile tested on alpha and x86.
|
|
|
|
|
|
| |
-current.
Apolgies to: anhold
|
| |
|
|
|
|
| |
other platforms.
|
|
|
|
| |
vnode_if.awk.
|
| |
|
|
|
|
|
|
| |
Document same.
Forgotten by: jhb
|
|
|
|
| |
controller.
|
| |
|
|
|
|
| |
while longer.
|
|
|
|
|
|
|
| |
an issue on the Alpha platform found by jeff@.)
o Simplify vm_page_lookup().
Reviewed by: jhb
|
|
|
|
| |
Many thanks to: bde
|
| |
|
|
|
|
| |
contain no truly interesting data anymore.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
loading breakage'). The patch fixes serious issues with the VFS
operations vector array which results in a crash when a filesystem module
adding a new VOP is loaded into the kernel. Basically what was happening
before was that the old operations vector was being freed and a new one
allocated. The original MALLOC code tended to reuse the same address
for the case and so the bug did not rear its ugly head until the new memory
subsystem was emplaced.
This patch replaces the temporary workaround Dave O'Brien comitted in 1.58.
The patch is clean enough that I intend to MFC it to stable at some point.
Submitted by: Alexander Kabaev <ak03@gte.com>
MFC after: 1 week
|
| |
|
|
|
|
| |
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
0xdeadc0de and then check for it just before memory is handed off as part
of a new request. This will catch any post free/pre alloc modification of
memory, as well as introduce errors for anything that tries to dereference
it as a pointer.
This code takes the form of special init, fini, ctor and dtor routines that
are specificly used by malloc. It is in a seperate file because additional
debugging aids will want to live here as well.
|
|
|
|
| |
- Remove atm_uma_ctor() as the M_ZERO will zero out the memory for us.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
only for exceptions.
While adding this to exception_save and exception_restore, it was hard
to find a good place to put the instructions. The code sequence was
sufficiently arbitrarily ordered that the density was low (roughly 67%).
No explicit bundling was used.
Thus, I rewrote the functions to optimize for density (close to 80% now),
and added explicit bundles and nop instructions. The immediate operand
on the nop instruction has been incremented with each instance, to make
debugging a bit easier when looking at recurring patterns. Redundant
stops have been removed as much as possible. Future optimizations can
focus more on performance. A well-placed lfetch can make all the
difference here!
Also, the FRAME_Fxx defines in frame.h were mostly bogus. FRAME_F10 to
FRAME_F15 were copied from FRAME_F9 and still had the same index. We
don't use them yet, so nothing was broken.
|
|
|
|
|
|
|
|
|
|
|
| |
the block to read and copy out. This removes the hack in
udf_readatoffset() for only reading one block at a time. WooHoo!
Remove a redundant test for fragmented fids in both udf_readdir()
and udf_lookup(). Add comment to both as to why the test is
written the way it is. Add a few more safety checks for brelse().
Thanks to Timothy Shimmin <tes@boing.melbourne.sgi.com> for pointing
out these problems.
|
|
|
|
|
|
| |
uma_zalloc and friends. Remove this functionality from the malloc wrapper.
Document this change in uma.h and adjust variable names in uma_core.
|
|
|
|
|
|
|
|
|
| |
sent me a replacement patch that fixes the problem. The challenge
buffer was not large enough by a factor of 4 (due to my changing the
size from 128 to 32, but not u_int8_t to u_int32_t).
MFC after: 1 day
Submitted by: skibo@pacbell.net
|
|
|
|
| |
that took its place for the purposes of acquiring and releasing Giant.
|
|
|
|
| |
in the simulator.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Requested by: bde
Since locking sigio_lock is usually followed by calling pgsigio(),
move the declaration of sigio_lock and the definitions of SIGIO_*() to
sys/signalvar.h.
While I am here, sort include files alphabetically, where possible.
|
|
|
|
|
|
|
| |
mutex class. Currently this is only used for kmapentzone because kmapents
are are potentially allocated when freeing memory. This is not dangerous
though because no other allocations will be done while holding the
kmapentzone lock.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is limiting it to, not what the device says it can handle.
- cl_status is an integer. cl_lstatus is a pointer.
- Add some debugging code to dump some things the driver knows about
the adapter.
- Tell CAM that the adapter can handle more commands when a command
completes. This fixes the problem were the SIM would freeze once
the driver hit the maximum number of transactions for the device.
- Change the vendor string to COMPAQ.
- Turn of Synchronize Cache for now. It locks the controller up.
Approved by: msmith
Obtained from: Yahoo!
|
|
|
|
|
| |
with wi but without pccard. Also remove an RCS id that I don't think
we need.
|