Commit Graph

802 Commits

Author SHA1 Message Date
Kirk McKusick
7957996abd Get rid of random debugging cruft; sync up with latest version. 1999-05-07 05:11:31 +00:00
Kirk McKusick
224a6aa241 Severe slowdowns have been reported when creating or removing many
files at once on a filesystem running soft updates. The root of
the problem is that soft updates limits the amount of memory that
may be allocated to dependency structures so as to avoid hogging
kernel memory. The original algorithm just waited for the disk I/O
to catch up and reduce the number of dependencies. This new code
takes a much more aggressive approach. Basically there are two
resources that routinely hit the limit. Inode dependencies during
periods with a high file creation rate and file and block removal
dependencies during periods with a high file removal rate. I have
attacked these problems from two fronts. When the inode dependency
limits are reached, I pick a random inode dependency, UFS_UPDATE
it together with all the other dirty inodes contained within its
disk block and then write that disk block. This trick usually
clears 5-50 inode dependencies in a single disk I/O. For block and
file removal dependencies, I pick a random directory page that has
at least one remove pending and VOP_FSYNC its directory. That
releases all its removal dependencies to the work queue. To further
hasten things along, I also immediately start the work queue process
rather than waiting for its next one second scheduled run.
1999-05-07 02:26:47 +00:00
Joseph Koshy
16e1a37f6c Fix spelling and typos.
PR:		docs/11506
Submitted by:	Norihiro Kumagai <kuma@jp.freebsd.org>
1999-05-06 12:17:58 +00:00
Archie Cobbs
f5004fb09b Add the capability for traceroute(8) to send packets of any IP protocol
instead of just UDP; an alternate protocol is specified by '-P proto'.
This is useful for finding routers that are blocking packets based on
IP protocol.  New handlers can be added fairly easily to do protocol-
specific things.
1999-05-06 03:23:24 +00:00
Luoqi Chen
43b25ae9c7 Uninitialized variable. Do not assume certain endianess. 1999-05-04 16:59:42 +00:00
Doug Rabson
59b047e234 GC some unused files from gdb and add them to the exclude list for future
imports.
1999-05-03 20:50:12 +00:00
Doug Rabson
f36fcbd258 Resurrect a file for alpha support in GDB and add some minor FreeBSD tweaks.
Magic wand waved by: Peter Wemm <peter@netplex.com.au>
1999-05-02 16:08:02 +00:00
Doug Rabson
230ee8ad3f Delete parts of gdb which are now shared with binutils. 1999-05-02 15:34:14 +00:00
Mark Murray
c3180f4f12 Merge conflicts. More elegant improvements will follow in a couple
of days.
1999-05-02 15:18:32 +00:00
Mark Murray
ef0775c4f0 This commit was generated by cvs2svn to compensate for changes in r46307,
which included commits to RCS files with non-trunk default branches.
1999-05-02 14:33:17 +00:00
Mark Murray
7c312e6b6a Maintenance releace 3 of perl5.005. Includes support for threads. 1999-05-02 14:33:17 +00:00
Doug Rabson
86c24ab288 The maximum pagesize for alpha is 64k, not 1Mb. 1999-05-02 12:02:55 +00:00
Doug Rabson
a408b2ea0c Add upgrade instructions to facilitate future gdb imports. 1999-05-02 11:59:45 +00:00
Doug Rabson
edc87f7d43 Merge local changes into gdb-4.18 and add changes for FreeBSD/alpha. 1999-05-02 11:25:35 +00:00
Doug Rabson
2887baec7d This commit was generated by cvs2svn to compensate for changes in r46283,
which included commits to RCS files with non-trunk default branches.
1999-05-02 10:18:14 +00:00
Doug Rabson
f2489878f0 Virgin import of gdb-4.18 1999-05-02 10:18:14 +00:00
David E. O'Brien
76505dc90c Fix conflicts. 1999-05-02 09:24:16 +00:00
David E. O'Brien
84c2add343 junk from the last import 1999-05-02 09:22:01 +00:00
David E. O'Brien
55e76efb08 This commit was generated by cvs2svn to compensate for changes in r46275,
which included commits to RCS files with non-trunk default branches.
1999-05-02 09:03:51 +00:00
David E. O'Brien
f96b6240a8 Virgin import of ISC-DHCP v2.0b1pl27 1999-05-02 09:03:51 +00:00
David E. O'Brien
2898537149 Turn DEFAULT_VTABLE_THUNKS back on. It caused problems with undefined symbols
in libstdc++.

Until I have a chance to look at what that problem is and to carefully consider
the upgrade issues of turning it back on at a later date if we leave it turned
off for any extended peroid of time.
1999-04-30 19:12:51 +00:00
David E. O'Brien
e53bca4f44 Rather than hack config/freebsd.h to contain our hacks for a native compiler,
just include them in tm.h (as built from cc/cc_tools/Makefile).

This will reduce the diffs from the vendor sources.

Excellent idea by:	jdp
1999-04-28 18:48:08 +00:00
David E. O'Brien
3f1ea226c9 Simplify the definition of FBSD_SWITCH_TAKES_ARG, and make sure
SWITCH_TAKES_ARG isn't defined (which svr4.h does) when we assign our
definition to it.
1999-04-27 19:29:44 +00:00
David E. O'Brien
512a10fde7 Wait until EGCS 1.2 to use more efficient ``thunks'' to implement C++ vtables.
While I have yet to hear of any problems with us using thunks.  The EGCS
mailing list notes some have problems with it and not using them are a
safer default.  People wanting to use them, can set the appropiate
compiler flag.
1999-04-27 15:43:56 +00:00
David E. O'Brien
1030a4e631 Use new FBSD_SWITCH_TAKES_ARG' and FBSD_WORD_SWITCH_TAKES_ARG'. 1999-04-22 17:45:24 +00:00
David E. O'Brien
61d2d44398 Move SWITCH_TAKES_ARG' to FBSD_SWITCH_TAKES_ARG' and `WORD_SWITCH_TAKES_ARG'
to `FBSD_WORD_SWITCH_TAKES_ARG' which allows architectures to tweak these
values if needed.
1999-04-22 17:45:01 +00:00
Nik Clayton
b38ec08e39 Fix typos.
PR:		docs/8682
Submitted by:	hnokubi@yyy.or.jp
Reviewed by:	nik
1999-04-14 18:49:15 +00:00
David E. O'Brien
4b056ee860 Document the "-D" option (UTSL). 1999-04-14 05:37:54 +00:00
David E. O'Brien
073f9b19ff Support linking against libgcc_r.
Submitted by:	Luoqi Chen <luoqi@chen.ml.org>
1999-04-14 00:25:45 +00:00
Nik Clayton
b2c3f55673 Fixed one typo ("[[=e]]" -> "[[=e=]]") and two occurences of whitespace
before a macro.

PR:		docs/7833
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1999-04-10 20:42:06 +00:00
Nik Clayton
80ea937ef4 .sp -> .Pp
"... Pa /etc/resolv.conf" -> "...\n.Pa /etc/resolv.conf"

.Po and .Pc reported as broken, replaced with "(" and ")"

PR:		docs/7819
Submitted by:	yohta@bres.tsukuba.ac.jp
1999-04-10 20:38:17 +00:00
Nik Clayton
5d5b393b9f ipfstat is now in section 8 of the manual.
PR:		7791
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1999-04-10 20:30:29 +00:00
David E. O'Brien
91a32ec0f3 Did not mean to import these with 2.0b1pl17
(was the docs/ dir in previous ISC distfiles)
1999-04-09 18:51:21 +00:00
Brian Somers
4560ea546c MF libexec/telnetd: Determine the host name using an array size of
MAXHOSTNAMELEN and call trimdomain() before implementing
                    the -u option.
1999-04-08 21:39:34 +00:00
Bruce Evans
b3827ce345 Removed unconditional definitions of __ELF__. They were redundant for
elf and wrong for i386-aout.
1999-04-08 13:57:13 +00:00
Hidetoshi Shimokawa
e8193c8b26 Change default entry point from __start' to _start' which is in crt1.o.
Cc doesn't need to pass `-e _start' to ld anymore.

Agreed by: gallatin and dfr
1999-04-08 11:33:05 +00:00
David E. O'Brien
2f494cb24f Merge shared LIB_SPEC into share config header. 1999-04-08 07:49:24 +00:00
David E. O'Brien
44109b462f merge alpha/freebsd-elf.h into alpha/freebsd.h
Submitted by:	Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1999-04-08 07:48:49 +00:00
Brian Somers
22e99a4288 MF libexec/telnetd: MAXHOSTNAMELEN & -u fixes. 1999-04-07 10:17:24 +00:00
Brian Somers
9c5cc7136c Use realhostname(). 1999-04-06 23:35:21 +00:00
David E. O'Brien
dd03234d28 Mispelled global option in usage. 1999-04-06 13:09:24 +00:00
Brian Somers
3bfc6c798d MF src/libexec/telnetd: Verify the reverse DNS lookup
ala rlogind.
Suggested by: markm
1999-04-06 12:41:27 +00:00
Peter Wemm
16f9c40248 Zap files not in cvs-1.10 1999-04-05 06:36:11 +00:00
Peter Wemm
feeca969b0 Stray files that used to be in 1.9.x that are not in 1.10 1999-04-05 06:31:43 +00:00
David E. O'Brien
256e5d49b4 libg++ is OBE. 1999-04-05 05:37:27 +00:00
David E. O'Brien
6c499bb15a Fix space padding that was causing a problem in creating the final
CPP_PREDEFINES.
1999-04-04 22:46:18 +00:00
David E. O'Brien
bf098f1e3f * Protect ourselves from any previously defined options.
* Turn on DEFAULT_VTABLE_THUNKS.  (it is the default anyway, I'm just being
  explicit about it, in case it causes us trouble it might be easier for
  someone to notice it this way)
1999-04-03 23:26:03 +00:00
Bruce Evans
52f07e4286 Fixed printf format errors. 1999-04-03 06:58:32 +00:00
Andrey A. Chernov
d8094070f9 Since our inetd wrapped now, treat all its services as tcpd-prefixed
for tcpdchk
1999-04-03 04:02:29 +00:00
David E. O'Brien
1eb80b4532 Bump __FreeBSD_cc_version to 400002 in case we need to know we are using
EGCS at some point.

Submitted by:	jdp
1999-04-03 02:18:13 +00:00