Age | Commit message (Collapse) | Author |
|
Do not append an SQL clause looking into the large "keys" table.
Instead, filter the result of the SQL query in buildnames() where
equivalent data from the much smaller "mlinks" table is already
available for free.
This is relevant because man(1) uses the equivalent of "-S ${MACHINE}"
by default since main.c rev. 1.122, to make sure that manuals for
the current architecture are shown. With many ports installed, this
patch can speed up man(1) by a factor of more than a hundred.
Slowness reported by Theo Buehler <theo at math dot ethz dot ch>, thanks!
|
|
FSCALE still needs to be exported .. unless someone fixes a few ports
that need it.
ok guenther, tested by sthen
|
|
unused typedef & external definitions.
|
|
memory for the mbuf layer up front. These days it only matters for
sizing of macros in <sys/mbuf.h>, so move it there. MCLSHIFT, MCLBYTES,
and MCLOFSET can move also (a decade ago, architectures had different
mbuf sizes. you don't want to know more)
ok guenther, ports fallout checked for by sthen
|
|
int to an aligned variable before operating on it.
ok claudio
|
|
used in disklabel type tools, newfs, fsck, when related to ufs or
ufs-derived filesystems, but also in a struct. Those things always include
<ufs/ffs/fs.h>. Move it there
ok guenther, tested in ports by sthen
|
|
each, never in portable software. Mop it up.
ok guenther, tested in ports tree by sthen
|
|
each .c file, and out of the .h files. To avoid overinclude.
ok gilles, in principle. If this has been done right, -portable should
become easier to maintain.
|
|
Analysis and patch by Richard Kojedzinszky, thanks! ok henning
|
|
ok mikeb
|
|
ok kettenis@
|
|
for the kernel pmap and kill pmap_kremove_pg(). Finally guard the hash
lock code under "MULTIPROCESSOR" to explicit which part of the code
received some MP love.
ok kettenis@
|
|
sendmail flags on the command line.
Also allow "from" to be set in mailrc.
Use sendmail's "-t" flag when executing sendmail instead of specifying
the list of recipients in argv. The "-f" flag will be used to set
the from address if specified.
|
|
realloc() which is expensive for large blacklists.
|
|
|
|
Suggested by deraadt@
|
|
Suggested by deraadt@
|
|
Suggested by deraadt@
|
|
hardware is fairly retarded. While it allows receive buffers with an
ETHER_ALIGN offset, it only allows the size of the buffers to be specified in
multiples of 1K. This means that if we want to use standard mbuf clusters
we will waste 1024 - ETHER_ALIGN bytes per cluster, which is a lot for the
2K clusters we use now. Compromise a bit by using 4K clusters on strict
alignment architectures and tell the hardware to use 3K of those, reducing
the spillage a bit. While this isn't optimal, at least on sparc64 where we
have 8K pages, the pool page allocation overhead should be the same as on
amd64/i386 where we have 4K pages and continue to use 2K mbuf clusters.
ok mikeb@, dlg@
|
|
OK jmc@ guenther@
|
|
|
|
Fix from Alexey Suslikov <alexey.suslikov at gmail.com>. Thanks!
tested by many, ok armani
|
|
rdist/client.h and rdistd/server.h
Only put #includes in .h files that are necessary for the .h to be used;
all other #includes go in the .c files
Move all extern variable declarations to the .h files, renaming local
variables to avoid shadowing
Replace me_type member of mntent_t with an "is NFS?" flag bit
|
|
backwards) screen CSI 34 h/l. From Guanpeng Xu.
|
|
|
|
|
|
|
|
inverted.
|
|
|
|
inverted.
|
|
|
|
Move struct msgtype and msgfacility into message.c, killing the MSGTYPE and
MSGFACILITY typedefs
Make getdistopt() static to distopt.c
|
|
task, rather than abusing task arguments to carry long values around.
this is unreliable, but so was the previous mechanism, just in a
different way. if you're so low on memory that you cant change the
volume, you probably have other more important problems going on
too.
tested by jim smith
|
|
From FreeBSD
|
|
|
|
ok deraadt@
|
|
support this interrupt. Link state changes are noticed via the PHY
status change callback or via the timeout for re_tick().
From FreeBSD
|
|
|
|
|
|
|
|
capitalization corrections.
|
|
|
|
|
|
contain "LD_TRACE_LOADED_OBJECTS" support, so this gets done by calling
RTLD_TRACE directly.
ok guenther
|
|
of <sys/param.h>
|
|
|
|
defunct ioctl(SIOCSARP)
ok millert@
|
|
|
|
|
|
These are the direct sources from NLnet Labs upstream, minus these:
compat contrib libunbound/python pythonmod testcode testdata winrc
ok deraadt@ jakob@
|