| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Notes:
svn path=/head/; revision=143459
|
|
|
|
| |
Notes:
svn path=/head/; revision=143456
|
|
|
|
| |
Notes:
svn path=/head/; revision=143451
|
|
|
|
|
|
|
| |
consumed.
Notes:
svn path=/head/; revision=143450
|
|
|
|
|
|
|
|
|
|
| |
available RAM. This also results in the global bounce page limit being
applied to zones instead of globally.
Submitted by: Petr Lampa (in part)
Notes:
svn path=/head/; revision=143449
|
|
|
|
|
|
|
|
| |
Submitted by: FUJITA Kazutoshi <fujita at soum dot co dot jp>
Reviewed by: sam (mentor)
Notes:
svn path=/head/; revision=143448
|
|
|
|
|
|
|
|
| |
Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de>
Obtained from: OpenBSD (commited fix to PR 3455)
Notes:
svn path=/head/; revision=143447
|
|
|
|
|
|
|
| |
Submitted by: jmallett
Notes:
svn path=/head/; revision=143446
|
|
|
|
| |
Notes:
svn path=/head/; revision=143444
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OR the physical address with alpha_XXX_dmamap_or to get the DMA address,
like the name of the variable suggests. However, while we were doing
this correctly in the alpha_XXX_dmamap() macro, the busdma code added
the variable to the physical address instead of or'ing it. Fortunately
and if my math is not entirely wrong, you would need more than 128GB of
RAM and a device able to do DMA in 64bits to experience the bug.
Spotted by: cognet
Notes:
svn path=/head/; revision=143443
|
|
|
|
|
|
|
|
|
|
| |
Demanded by: DES
Encouraged by: scottl
Obtained from: q@onthenet.com.au (partially)
KNF'ed by: obrien
Notes:
svn path=/head/; revision=143442
|
|\
| |
| |
| |
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
Notes:
svn path=/head/; revision=143440
|
|
|
|
|
|
|
|
|
| |
Demanded by: DES
Encouraged by: scottl
Notes:
svn path=/vendor-sys/nve/dist/; revision=143439
svn path=/vendor-sys/nve/1.0.0301/; revision=143441; tag=vendor/nve/1.0.0301
|
|
|
|
|
|
|
| |
simpler one.
Notes:
svn path=/head/; revision=143438
|
|
|
|
| |
Notes:
svn path=/head/; revision=143437
|
|
|
|
|
|
|
| |
nul-terminate the dp->d_name directly and only copy the string.
Notes:
svn path=/head/; revision=143436
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
long filename. Each substring is indexed by the windows ID, a
sequential one-based value. The previous code was extremely slow,
doing a malloc/strcpy/free for each substring.
This code optimizes these routines with this in mind, using the ID
to index into a single array and concatenating each WIN_CHARS chunk
at once. (The last chunk is variable-length.)
This code has been tested as working on an FS with difficult filename
sizes (255, 13, 26, etc.) It gives a 77.1% decrease in profiled
time (total across all functions) and a 73.7% decrease in wall time.
Test was "ls -laR > /dev/null".
Per-function time savings:
mbnambuf_init: -90.7%
mbnambuf_write: -18.7%
mbnambuf_flush: -67.1%
MFC after: 1 month
Notes:
svn path=/head/; revision=143435
|
|
|
|
|
|
|
|
| |
This changes things like whitespace, inconsistent use of #ifndef vs
#if !defined(), different macro argument orders, mismatched comments, etc.
Notes:
svn path=/head/; revision=143434
|
|
|
|
| |
Notes:
svn path=/head/; revision=143433
|
|
|
|
|
|
|
| |
on amd64, I'm removing them here)
Notes:
svn path=/head/; revision=143432
|
|
|
|
|
|
|
| |
Reported by: phk
Notes:
svn path=/head/; revision=143431
|
|
|
|
| |
Notes:
svn path=/head/; revision=143430
|
|
|
|
| |
Notes:
svn path=/head/; revision=143429
|
|
|
|
| |
Notes:
svn path=/head/; revision=143428
|
|
|
|
|
|
|
|
| |
post-SMPng world order. Centralize handling of the socket option
clear case in do_setopt_accept_filter().
Notes:
svn path=/head/; revision=143427
|
|
|
|
|
|
|
|
| |
default rate control algorithm; this should be done differently but for
now use this simple solution
Notes:
svn path=/head/; revision=143426
|
|
|
|
|
|
|
| |
lock.
Notes:
svn path=/head/; revision=143425
|
|
|
|
|
|
|
| |
(I forgot to commit this in my previous commit)
Notes:
svn path=/head/; revision=143424
|
|
|
|
|
|
|
|
|
| |
the two became almost identical since latest KAME merge.
Discussed with: sam
Notes:
svn path=/head/; revision=143423
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
socket lock around knlist_init(), so don't.
Hard code the setting of the socket reference count to 1 rather than
using soref() to avoid asserting the socket lock, since we've not yet
exposed the socket to other threads.
This removes two mutex operations from each socket allocation.
Notes:
svn path=/head/; revision=143422
|
|
|
|
|
|
|
| |
like this at some point, but for now it clutters the source.
Notes:
svn path=/head/; revision=143421
|
|
|
|
| |
Notes:
svn path=/head/; revision=143420
|
|
|
|
|
|
|
|
|
| |
error(ath_hal_computetxtime) during module loading.
Reviewed by: sam (mentor)
Notes:
svn path=/head/; revision=143419
|
|
|
|
|
|
|
| |
this is required to integrate opencrypto into crypto.
Notes:
svn path=/head/; revision=143418
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
so that the socket does not generate SIGPIPE, only EPIPE, when a write
is attempted after socket shutdown. When the option was introduced in
2002, this required the logic for determining whether SIGPIPE was
generated to be pushed down from dofilewrite() to the socket layer so
that the socket options could be considered. However, the change in
2002 omitted modification to soo_write() required to add that logic,
resulting in SIGPIPE not being generated even without SO_NOSIGPIPE when
the socket was written to using write() or related generic system calls.
This change adds the EPIPE logic to soo_write(), generating a SIGPIPE
signal to the process associated with the passed uio in the event that
the SO_NOSIGPIPE option is not set.
Notes:
- The are upsides and downsides to placing this logic in the socket
layer as opposed to the file descriptor layer. This is really fd
layer logic, but because we need so_options, we have a choice of
layering violations and pick this one.
- SIGPIPE possibly should be delivered to the thread performing the
write, not the process performing the write.
- uio->uio_td and the td argument to soo_write() might potentially
differ; we use the thread in the uio argument.
- The "sigpipe" regression test in src/tools/regression/sockets/sigpipe
tests for the bug.
Submitted by: Mikko Tyolajarvi <mbsd at pacbell dot net>
Talked with: glebius, alfred
PR: 78478
MFC after: 1 week
Notes:
svn path=/head/; revision=143417
|
|
|
|
| |
Notes:
svn path=/head/; revision=143416
|
|
|
|
| |
Notes:
svn path=/head/; revision=143415
|
|
|
|
|
|
|
|
|
| |
and inlining the small printing utility functions.
Create a function that can be used to produce printable representations
of flag words.
Notes:
svn path=/head/; revision=143414
|
|
|
|
| |
Notes:
svn path=/head/; revision=143413
|
|
|
|
|
|
|
|
| |
with leading underscore followed by an uppercase letter are in the
implementation namespace.
Notes:
svn path=/head/; revision=143412
|
|
|
|
|
|
|
| |
with a leading underscore are in the implementation namespace.
Notes:
svn path=/head/; revision=143411
|
|
|
|
| |
Notes:
svn path=/head/; revision=143410
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
intended to verify that SIGPIPE is delivered to a process writing or
sending on a socket that has been shut down for write. If available,
SO_NOSIGPIPE is also tested.
This regression test is currently passed by RELENG_4, but not by HEAD or
RELENG_5, due to a bug in the write() code for sockets. SO_NOSIGPIPE is not
present in RELENG_4, however, so is not tested there.
Reported by: Mikko Tyolajarvi <mbsd at pacbell dot net>
PR: 78478
Notes:
svn path=/head/; revision=143409
|
|
|
|
|
|
|
|
|
|
|
| |
- rijndael_set_key() always sets up full context
- rijndaelKeySetupDec() gets back original protoype
Reviewed by: sam
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=143408
|
|
|
|
| |
Notes:
svn path=/head/; revision=143407
|
|
|
|
| |
Notes:
svn path=/head/; revision=143406
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
patch differs from the previous one in that it calls the function
only when a real file hits EOF. The bodies of .for loops are also
handled as files, but for these we don't want to end a dependency block
on the 'EOF' as in:
foo:
do-this
.for ...
do-something
.endfor
do-more
Notes:
svn path=/head/; revision=143405
|
|
|
|
|
|
|
|
| |
Submitted by: Richard Kojedzinszky
MFC after: 3 days
Notes:
svn path=/head/; revision=143404
|
|
|
|
|
|
|
| |
Improve credential handling in pt_file.c
Notes:
svn path=/head/; revision=143402
|
|
|
|
|
|
|
| |
it fixes. This should fix the buildworld breakage.
Notes:
svn path=/head/; revision=143401
|