| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
way.
PR: 42745 (although done in a different way)
|
|
|
|
|
|
|
|
|
| |
When it is called directly, gcc is smart enough to generate inline
code for it, which is why it wasn't noticed before that it was missing.
fabs() would probably better fit into libm, but it has traditionally been
in libc on FreeBSD, so there is probably software around that makes
assumptions about this by now.
|
|
|
|
|
| |
by not passing a pointer to a register_t or intptr_t when the code in
the lower layers expects one to an int.
|
|
|
|
|
|
|
| |
If somebody wanted to, this could for the beginning of a "libkernel"
which could be used to run kernel code in userland.
Sponsored by: DARPA & NAI Labs.
|
| |
|
|
|
|
| |
Bus Protocol 2:SCSI over IEEE1394) support for CAM.
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs
|
|
|
|
| |
examined. Use biowait() instead of DIY.
|
|
|
|
|
|
|
|
|
| |
Introduce biowait() function. Currently there is a race condition and the
mitigation is a timeout/retry. It is not obvious what kind of locking (if any)
is suitable for BIO_DONE, since the majority of users take are of this
themselves, and only a few places actually rely on the wakeup.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
method was specified.
|
|
|
|
|
|
|
|
|
|
|
| |
them visible from userland, if need be.
I wish that the C language contained this as part of struct definintions,
but failing that, I would settle for an agreed upon set of functions for
packing/unpacking integers in various sizes from byte-streams which may
have unfriendly alignment.
This really belongs in <sys/endian.h> I guess.
|
|
|
|
| |
about because the bio_blknos were bogusly casted to long long.
|
|
|
|
|
|
| |
memory.
Reviewed by: jhb
|
|
|
|
| |
because the bio_blkno was bogusly casted to an int.
|
|
|
|
| |
Also fix some style bugs on the same line.
|
|
|
|
| |
constant.
|
|
|
|
| |
Submitted by: sumikawa
|
|
|
|
| |
Submitted by: David Dawes <dawes@XFree86.Org>
|
|
|
|
|
|
|
|
| |
Modified release notes: newsyslog(8) now uses bzip2(1) by default.
Move two TCP-related release notes from the general kernel section to
the networking protocols section. Minor wording adjustment in one
item, note MFC of the other.
|
| |
|
| |
|
|
|
|
|
| |
bp->bio_pblkno. Otherwise, all formats not using 512 byte
physical sectors got screwed.
|
|
|
|
| |
debug statement.
|
|
|
|
| |
Basic idea agreed to by: rwatson
|
|
|
|
| |
problems when you try to override variables locally.
|
|
|
|
| |
Desired by: tmm
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
code will know not to try to use `long long'.
Unfortunately the GCC spec parser will not allow us to properly detect the
"iso9899:1990" and "iso9899:199409" forms of the acceptable -std= arguments,
because of the ':' in the -std argument. :-( I have left them in the spec
as a place holder in hopes someone knows a way to make the detection of
them work.
Desired by: wollman
|
|
|
|
| |
to make building GCC happy.
|
| |
|
| |
|
|
|
|
| |
need to update :-(((
|
|
|
|
|
|
|
|
|
|
| |
(what we want to mask is the ATA interrupts, which run at level splbio),
and add interrupt masking around the statement that modifies the
request queue for a SIM.
This resolves problems reported by users under heavy ATAPI load.
Reviewed by: roberto
|
| |
|
|
|
|
| |
Submitted by: Benjamin Close <cisbjc@cs.unisa.edu.au>
|
|
|
|
| |
PR: 41870
|
|
|
|
|
|
| |
Based on patch in PR-42659, but done somewhat differently.
PR: 42659
|
|
|
|
|
|
| |
This is a temporary fix until I get proper locking done.
Submitted by: iedowse@maths.tcd.ie
|
| |
|
| |
|
|
|
|
| |
not wchar_t * restrict.
|
|
|
|
|
|
|
| |
to be dropped, 2) attempting to lock acct_mtx while already holding it.
Sorry to those who experienced pain.
- Added two comments referring to two areas in which acct_mtx is held over
vnode operations that might sleep. Patch in the works for this.
|
|
|
|
| |
<kawasaki@mbg.sphere.ne.jp> and David Dawes <dawes@XFree86.org>.
|
|
|
|
|
|
|
|
|
|
|
|
| |
I should have committed this ages ago.
The MFC for if_ethersubr.c could be done in the usual few days (only
ipfw2 uses it), the one for bridge.c should probably wait until
after 4.7 because it changes an existing though mostly undocumented
behaviour (on which i hope nobody relies). All in all, i'll wait for
both things unless there is demand.
MFC after: 35 days
|
|
|
|
|
|
|
|
|
|
|
| |
has always done.
Technically, this is the wrong format, but it reduces the diffs in
-stable. Someday, when we get rid of ipfw1, I will put the port number
in the proper format both in kernel and userland.
MFC after: 3 days
(with re@ permission)
|
|
|
|
|
| |
Reviewed by: mini
MFC after: 3 days
|
|
|
|
|
|
|
| |
and ucontext_t.
Reviewed by: mini
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The 550 version is location at address 1 but since it works right we
let the code find whatever PHY it can.
Fix a fragment issue on TX. If the number of frags are more then the
driver has allocated then bring all the frags together into one packet
and send it out. Code derived from the fxp driver.
Tested and found by: Francois Tigeot <francois.tigeot@nic.fr>
Hellmuth Michaelis <hm@kts.org>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
request structure.
- Re-optimize the case of utrace being disabled by doing an explicit
KTRPOINT check instead of relying on the one in ktr_getrequest() so that
we don't waste time on a malloc in the non-tracing case.
- Change utrace() to return an error if the copyin() fails. Before it
would just ignore the request but still return success. This last is
a change in behavior and can be backed out if necessary.
|