Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
From FreeBSD via S. Deinhard.
|
|
when set, uvm will not attempt to avoid a heap address, if requested.
from todd vierling, via
http://marc.theaimsgroup.com/?l=netbsd-tech-kern&m=105612525808607&w=1
|
|
henning@ OK
|
|
reference it rather than /etc/netstart
ok henning@ millert@
|
|
|
|
source upgrade from a system that used it anyway.
ok art deraadt drahn
|
|
|
|
|
|
|
|
by a break;
from NetBSD;
ok deraadt@
|
|
mapped and sync'ed appropriately, and is guaranteed to be in one
memory page.
Eliminate now unused dmamap_cmd and rs_cmd fields.
Fix another error message (adding active command to reset list) so
that it includes the adapter name.
Add missing letoh32() calls to debug code.
The evils of directly mapping *xs->cmd were pointed out by Mickey
during osiop development. In particular, *xs->cmd may start on one
memory page and run into the next. Since the dma logic in most
cards/drivers (including siop) only allocates one address/size pair to
map *xs->cmd, parts of a command could be lost or corrupted.
The large number of 6 byte dma mappings noted long ago by someone
(Henric?). This change reduces the dma mapping activity per i/o by
1/3 to 1/2 and may give a performance boost of some kind.
Successfully tested on i386, sparc64 (ultra30 - thanks Jolan,
blade100), macppc and alpha.
Unfortunately these changes don't fix the Blade1000 siop problems.
**NOTE** If scsi_generic is ever upped to 16 bytes the offsets in
siop.ss must be updated!
|
|
|
|
pointed out by Dr. Mdoc jmc@
|
|
- No more I/O related SEGVs (PR 2337?).
- Performance linear to size of output, not input file size, even for very large files.
Same for -r.
- Reverse tail also works for very large files.
- Very large values of n possible, even for very large files. Same for -r.
work by Otto Moerbeek <otto@drijf.net>
tested by and ok millert@ and myself
|
|
|
|
|
|
- .Xr disklabel 8 instead of .Em
|
|
|
|
Catches case spotted by Dale.
|
|
|
|
|
|
- bump mktemp randomness slightly from 8 -> 10
millert@ ok
|
|
|
|
array access (and a core dump on sparc64 at least). Noticed by
sturm@ and pvalchev@. Fix tested an OK by pvalchev@.
|
|
|
|
|
|
Inline some macros/functions for speed.
So, this achieves the goal of one single lookup for macro/trace status,
which does speed up m4 in partial tracing situations somewhat.
This does also speed up m4 in large pushdef situations, since it no longer
has to lookup large chains of macros.
okay millert@
|
|
Fold built-in lookup into normal lookup.
okay millert@
|
|
make the stack structure of macro definitions explicit.
okay millert@
|
|
millert@ ok
|
|
in the frame for the macro expansion.
(This will allow one single lookup to grab the macro definition and
the trace status)
okay millert@
|
|
define an interface with explicit define/pushdef/popdef... and use it.
That way, most details of the hashtable are no longer visible.
okay millert@
|
|
ok dhartmei@
|
|
that allows us to get rid of the "tagid" global which stored the highest
tag ID in use.
when allocating a new ID scan the list for a free slot and only use
highest + 1 on failure instead of using highest + 1 from the beginning
scanning for a dup afterwards. this prevents ID space fragmentation better.
as a result this allows us do get rid of the pf_tag_purge() function
completely and let pf_tag_unref() remove an entry once the reference
counter reaches zero by itself.
after all it makes for easier code and is about 50% faster.
idea came up during a discussion on icb earlier today between cedric and
myself, which itself was particulary inspired by Darren Reed questioning the
need for pf_tag_purge on tech-net@netbsd.
ok dhartmei@ cedric@
|
|
|
|
- avoid a coredump in 'line mode' and correct a comment
- stub for -I option (our manpage already mentions this)
- add author's copyright (tony finch)
millert@ ok
|
|
Use first device in supplied list as default unless overridden.
Eliminates repeated 'echo XXX | cutword 1' constructs.
Use 'set -- $_devs' to parse _devs and find out if there are any
devices in the list. Then use '_devs="$*" to eliminate all extraneous
whitespace from _devs, rather than just a single trailing blank.
Usual [...] -> [[...]], `` -> $(), extra '{}' and '"' eliminations in
areas being fixed up.
|
|
from Jason Ackley, ok henning@, cedric@
|
|
jmc@ and henning@ OK
|
|
timezone name from '/etc/localtime' link. Use cutword() rather than
cutlast() to see if there is more than one possible root disk. As
these were the last two uses of cutlast(), eradicate it.
Usual [...] -> [[...]], `` -> $(), extra '{}' and '"' eliminations in
areas being fixed up.
|
|
|
|
cedric made me check
|
|
|
|
|
|
requeested by cedric
|
|
|