Commit Graph

12233 Commits

Author SHA1 Message Date
christos
474de384b9 add missing debuglib 2011-05-27 22:42:26 +00:00
tsutsui
ac5e5928fb - fix mdoc warning 2011-05-27 17:50:41 +00:00
tsutsui
e85fd8b30d - fix mdoc warnings
- remove entries which are not necessary or in common/legal
2011-05-27 17:50:14 +00:00
tsutsui
f64fbb8f70 - move "MD instructions on setting up boot media"
from common/xfer with messy mdoc .if conditionals
  into MD xfer files so that developers can see
  what contents are missing or obsolete and should be
  written or updated
- remove some useless MD description for maintainability

XXX: still a bunch of unmaintained .if \n [${MACHINE}] in common files
2011-05-27 17:38:41 +00:00
tsutsui
7f0da11c1a Remove sizes of set files. They were too hard to maintain,
while nowadays few users care about bandwidth or storage
in modern Internet environment.  Ok'ed by snj@ a while ago.
2011-05-27 15:43:00 +00:00
tsutsui
5c3096b3d2 Tweak some descriptions about Rawrite32 tool on Windows.
XXX: we should rather mention how to write ISO images..
2011-05-27 15:27:41 +00:00
plunky
b52bb12959 provide a new 'bluetooth' rc.d script, to handle Bluetooth configuration
in a simpler manner. This replaces btattach, btconfig, bthcid, btdevctl
and sdpd scripts, and also should not require any configuration settings
other than "bluetooth=YES", though the full range of configurations is
still possible.
2011-05-27 09:28:41 +00:00
christos
ab866f07da add debuglibs for sparc compat 2011-05-26 00:44:14 +00:00
tsutsui
27dffeb3fc Remove mount_kernfs(8). INSTALL kernel doesn't have file-system KERNFS
and dmesg(8) is enough for sysinst.
2011-05-22 10:49:37 +00:00
tsutsui
c0ea166021 Prepare xorg files for newsmips. It will work with standard wsfb driver. 2011-05-21 11:52:29 +00:00
tsutsui
6bab75db1a Rename xorg.conf in the xserver set to xorg.conf.sample to avoid
overwriting a possibly modified user config file.  Suggested by jmmv@.
2011-05-21 11:38:52 +00:00
tsutsui
bd79dceeae First cut at INSTALL notes for NetBSD/hpcarm.
Mostly taken from hpcmips and hpcsh. Needs more improvements.
2011-05-21 07:09:09 +00:00
joerg
bc69e95f26 lib/libobjc/t_threads is GCC-specific 2011-05-20 21:43:39 +00:00
nakayama
88e42b609b Add fenv support for sparc. Mostly copied from sparc64 and share with it. 2011-05-20 21:42:48 +00:00
plunky
762c58f13a simplify PCC inclusion; MKPCCDMDS is not really required 2011-05-20 16:02:21 +00:00
tsutsui
6b4b961da6 Add RCSId. 2011-05-20 09:29:08 +00:00
tsutsui
c781592c83 Add /etc/X11/xorg.conf. 2011-05-20 09:28:32 +00:00
tsutsui
a633e5819e Remove gnu/usr.bin from SRCDIRS. (no sources there) 2011-05-20 07:59:44 +00:00
tsutsui
8edbaaf3c0 Shrink ramdisk size to 2048KB. 2011-05-20 07:57:07 +00:00
tsutsui
ce1745ee16 - disable chio(1) and slattach(8)
- use x_ed (no crypt support) and x_gzip (no compress and bz2 support)
- add back mount_cd9660 for USB CD/DVD drives
2011-05-20 07:54:12 +00:00
christos
fe1bab6e3f a little better. 2011-05-20 02:12:39 +00:00
msaitoh
56f5ce9baa Add support for 6050(6250 and 6150) and 6005(6205).
TODO: update iwn.4 manpage.
2011-05-20 01:59:14 +00:00
tsutsui
aabb34a38b - WARNSfy
- KNF, ANSIfy, remove __P(), misc cosmetics
2011-05-19 22:23:12 +00:00
tsutsui
a628ef7c5c - WARNSfy
- KNF, ANSIfy, misc cosmetics
2011-05-19 22:14:15 +00:00
tsutsui
84af88e97a - WARNSfy
- KNF, ANSIfy, misc cosmetics

note: this is small shell, not secure shell.
2011-05-19 22:12:35 +00:00
riastradh
1cef303517 Add a cmsg.3 man page symlink, since I can never remember its name.
ok wiz
2011-05-19 21:39:02 +00:00
riastradh
f68971e6cf Add my name to the list. 2011-05-19 05:13:09 +00:00
christos
10217dda12 add pselect 2011-05-18 03:07:37 +00:00
phx
f2428d2dad Create sd0, wd1 and cd0 devices, to allow mounting installation media via
USB, a second disk or a CDROM drive.
2011-05-13 19:14:17 +00:00
christos
896e69ee4b bump libmagic 2011-05-13 01:56:27 +00:00
joerg
46f5119e40 Update LLVM and Clang snapshot 2011-05-12 14:56:22 +00:00
jruoho
cd5d7b9351 Few naive tests for pause(3). 2011-05-10 13:03:05 +00:00
jruoho
f33b8e3d59 Add a test case for PR kern/44946. This tests that common first level sysctl
nodes (ddb, hw, machdep, etc.) are not writable by a normal user.
2011-05-09 17:53:54 +00:00
manu
136a3b8340 Attempt to fix build after perfuse addition (there is no MKPERFUSE) 2011-05-09 17:13:19 +00:00
haad
a28cba54a4 Mention MKPERFUSE keyword here, too. I have forgot to commit this file before. 2011-05-09 14:45:44 +00:00
njoly
2a2612f827 Small typo (perfuse.debug -> perfused.debug). 2011-05-09 11:55:33 +00:00
manu
73963ae9de Enable the build of perfused and libperfuse 2011-05-09 08:51:08 +00:00
jruoho
6cd711aedd Few basic tests for exit(3). 2011-05-09 07:31:50 +00:00
jruoho
48b4c06005 Few basic tests for strerror(3). 2011-05-09 06:04:14 +00:00
jruoho
f5d692df83 Few basic tests for closefrom(3). 2011-05-09 05:17:12 +00:00
cheusov
813b6c039b Add myself 2011-05-07 11:12:48 +00:00
tsutsui
08517f99c8 Specify DGB=-Os to make libhack a bit smaller. 2011-05-06 18:33:59 +00:00
tsutsui
dc9f645f7e Use /sbin/dmesg directly rather than kernfs and /kern/msgbuf as other ports. 2011-05-06 18:32:59 +00:00
jruoho
fd2377c7fe Try to mirror the real source with the test directory structure (otherwise
the latter carries a risk of becoming a difficult mess to manage.)
2011-05-05 13:36:04 +00:00
jruoho
0bd56749c6 Few fundamental consistency checks for alarm(2). 2011-05-05 13:22:56 +00:00
nonaka
28846998b3 Reduce kernel size.
Tested on SL-C1000.

Fix PR/44898.
2011-05-05 09:07:59 +00:00
jruoho
f9b73fbc67 Follow the real tree with the test directory structure. 2011-05-05 05:39:10 +00:00
jruoho
083337961f Fix some glitches (a human doing machine's work). 2011-05-05 05:28:52 +00:00
jruoho
5cdd3dcf2a Follow the real tree with the test directory structure. 2011-05-05 05:24:44 +00:00
dyoung
c2e43be1c5 Reduces the resources demanded by TCP sessions in TIME_WAIT-state using
methods called Vestigial Time-Wait (VTW) and Maximum Segment Lifetime
Truncation (MSLT).

MSLT and VTW were contributed by Coyote Point Systems, Inc.

Even after a TCP session enters the TIME_WAIT state, its corresponding
socket and protocol control blocks (PCBs) stick around until the TCP
Maximum Segment Lifetime (MSL) expires.  On a host whose workload
necessarily creates and closes down many TCP sockets, the sockets & PCBs
for TCP sessions in TIME_WAIT state amount to many megabytes of dead
weight in RAM.

Maximum Segment Lifetimes Truncation (MSLT) assigns each TCP session to
a class based on the nearness of the peer.  Corresponding to each class
is an MSL, and a session uses the MSL of its class.  The classes are
loopback (local host equals remote host), local (local host and remote
host are on the same link/subnet), and remote (local host and remote
host communicate via one or more gateways).  Classes corresponding to
nearer peers have lower MSLs by default: 2 seconds for loopback, 10
seconds for local, 60 seconds for remote.  Loopback and local sessions
expire more quickly when MSLT is used.

Vestigial Time-Wait (VTW) replaces a TIME_WAIT session's PCB/socket
dead weight with a compact representation of the session, called a
"vestigial PCB".  VTW data structures are designed to be very fast and
memory-efficient: for fast insertion and lookup of vestigial PCBs,
the PCBs are stored in a hash table that is designed to minimize the
number of cacheline visits per lookup/insertion.  The memory both
for vestigial PCBs and for elements of the PCB hashtable come from
fixed-size pools, and linked data structures exploit this to conserve
memory by representing references with a narrow index/offset from the
start of a pool instead of a pointer.  When space for new vestigial PCBs
runs out, VTW makes room by discarding old vestigial PCBs, oldest first.
VTW cooperates with MSLT.

It may help to think of VTW as a "FIN cache" by analogy to the SYN
cache.

A 2.8-GHz Pentium 4 running a test workload that creates TIME_WAIT
sessions as fast as it can is approximately 17% idle when VTW is active
versus 0% idle when VTW is inactive.  It has 103 megabytes more free RAM
when VTW is active (approximately 64k vestigial PCBs are created) than
when it is inactive.
2011-05-03 18:28:44 +00:00