Commit Graph

4105 Commits

Author SHA1 Message Date
Dima Dorfman
7309915e7a Nuke unused variables. 2001-06-24 23:41:57 +00:00
Dima Dorfman
9582ea7e62 Include missing header files which define functions for which gcc has
builtints (e.g., exit, strcmp).
2001-06-24 23:22:14 +00:00
Dima Dorfman
7a19d1bbb9 Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).
2001-06-24 19:50:42 +00:00
Dima Dorfman
948a3f54a7 Include missing header files which define functions for which gcc has
builtins (e.g., exit).

Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-24 19:41:18 +00:00
Dima Dorfman
471caa34a4 Silence warning and set WARNS=2.
Submitted by:	Mike Barcroft <mike@q9media.com>
Reviewed by:	md5(1)
2001-06-24 18:56:00 +00:00
David Malone
5386636d3e Add prototypes and turn on WARNS=?2. 2001-06-24 12:23:54 +00:00
Dima Dorfman
a910f192bb Remove duplicate words. 2001-06-24 01:34:38 +00:00
Jason Evans
9a952e0dda Add myself. 2001-06-24 00:45:03 +00:00
Jens Schweikhardt
f40be3e157 Reduce field width for some columns so that the default output fits in <= 79
columns. 80 columns + newline is a problem for some terminals including syscons.

Requested by:	bde
MFC after:	1 week
2001-06-23 17:52:10 +00:00
Ruslan Ermilov
8c8e8f8013 Three people known to be born on December 18!
Submitted by:	cwt
2001-06-23 17:34:26 +00:00
Ruslan Ermilov
c73d99b567 Add netstat(1) knob to reset net.inet.{ip|icmp|tcp|udp|igmp}.stats.
For example, ``netstat -s -p ip -z'' will show and reset IP stats.

PR:		bin/17338
2001-06-23 17:17:59 +00:00
Bosko Milekic
f70f5dd367 - Fix space allocation for mbstat structure
- Make sure to try hw.ncpu if kern.smp.cpus doesn't exist (i.e. on UP) to
  get number of CPUs.
2001-06-23 17:04:17 +00:00
Bosko Milekic
4edec6b79a Make sure to try hw.ncpu if kern.smp.cpus doesn't exist (i.e. on UP) when
getting number of CPUs.
2001-06-23 17:03:27 +00:00
Maxim Sobolev
ab962c79ec By default link statically (like we did in the port) - it provides 8-10%
faster comperssion, which in the bzip2's case could be a big win.
2001-06-23 12:29:14 +00:00
Ruslan Ermilov
aafccd6d93 Honor -s -s (don't show zero stats) with -r, untangle SYNOPSIS further.
(usage() still is not synchronized with SYNOPSIS, intentionally.)
2001-06-23 09:18:57 +00:00
Ralf S. Engelschall
c39435223d Add myself. 2001-06-23 09:16:29 +00:00
Ruslan Ermilov
7b7a4c0417 Average age is 28 years and 11 months.
Submitted by:	hrs, marko
2001-06-23 08:36:11 +00:00
Brian Feldman
668650045e Make sure the average age keeps on decreasing down that slippery slope. 2001-06-23 07:24:18 +00:00
Andrey A. Chernov
cd01c79119 Make the similar changes as in our keyinfo, i.e. allow user to get his own
sequence and allow root to get everybody's one. Before this change user
can't get his own sequence, root required.
2001-06-23 04:48:59 +00:00
Julian Elischer
2137f0edf5 give up and join the party (along with thomas Moestl (same bday))
but maybe this file shouldn't be so widly distributed :-)
2001-06-23 04:37:31 +00:00
Seigo Tanimura
4841abec28 Now how many files would a new committer have to commit? 2001-06-22 22:53:22 +00:00
Wes Peters
3236ec583b Join in the fun. 2001-06-22 22:47:22 +00:00
David E. O'Brien
b0b7095861 Quiet compiler warnings by making `WARNS 2' clean.
Submitted by:	Mike Barcroft <mike@q9media.com>

Set maintainer to myself.  This needs to stay in sync with what Buntils
does, and it would be best to pass functionality changes thru me to make
sure future plans are taken into account.
2001-06-22 21:43:51 +00:00
Dima Dorfman
982f5d88ff WARNS= -> WARNS?=
Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-22 21:38:30 +00:00
Mario Sergio Fujikawa Ferreira
c55cc749a5 Average tuning and contribute a Brazilian 2001-06-22 15:00:20 +00:00
Paul Saab
81ca9c7060 Add myself 2001-06-22 14:50:34 +00:00
Thomas Moestl
280e1ddd48 Add myself. 2001-06-22 14:43:53 +00:00
Ruslan Ermilov
4208e80251 More average age tuning.
Submitted by:	andy
2001-06-22 13:14:01 +00:00
Daniel C. Sobral
d3460d6609 Correct small typo on debug message.
PR:		bin/28337
Submitted by:	Koga Youichirou <y-koga@jp.freebsd.org>
MFC after:	1 week
2001-06-22 12:54:55 +00:00
Ruslan Ermilov
31ae0147d1 Fixed average age (28 years and 11 months).
Submitted by:	hosokawa
2001-06-22 10:11:39 +00:00
Gregory Neil Shapiro
5631132741 Add myself. It looks like I am in very good company in November. 2001-06-22 08:11:06 +00:00
Kevin Lo
45850e3066 Add myself 2001-06-22 07:35:56 +00:00
Ruslan Ermilov
a87032d57f - Fixed bogon in rev. 1.14 (dates are separated by a tab).
- Sort people that have the same birthday by a year.
- Added some missing data (R.O.C. for Taiwan, Australia for peter,
  Englang -> United Kingdom).
- Fixed bogon in rev. 1.1 (INITCAP() was not worth doing).
- Regenerate (from the Oracle database).

Average age: 28 years and 10 months.
2001-06-22 06:41:16 +00:00
Bosko Milekic
08442f8a82 Introduce numerous SMP friendly changes to the mbuf allocator. Namely,
introduce a modified allocation mechanism for mbufs and mbuf clusters; one
which can scale under SMP and which offers the possibility of resource
reclamation to be implemented in the future. Notable advantages:

 o Reduce contention for SMP by offering per-CPU pools and locks.
 o Better use of data cache due to per-CPU pools.
 o Much less code cache pollution due to excessively large allocation macros.
 o Framework for `grouping' objects from same page together so as to be able
   to possibly free wired-down pages back to the system if they are no longer
   needed by the network stacks.

 Additional things changed with this addition:

  - Moved some mbuf specific declarations and initializations from
    sys/conf/param.c into mbuf-specific code where they belong.
  - m_getclr() has been renamed to m_get_clrd() because the old name is really
    confusing. m_getclr() HAS been preserved though and is defined to the new
    name. No tree sweep has been done "to change the interface," as the old
    name will continue to be supported and is not depracated. The change was
    merely done because m_getclr() sounds too much like "m_get a cluster."
  - TEMPORARILY disabled mbtypes statistics displaying in netstat(1) and
    systat(1) (see TODO below).
  - Fixed systat(1) to display number of "free mbufs" based on new per-CPU
    stat structures.
  - Fixed netstat(1) to display new per-CPU stats based on sysctl-exported
    per-CPU stat structures. All infos are fetched via sysctl.

 TODO (in order of priority):

  - Re-enable mbtypes statistics in both netstat(1) and systat(1) after
    introducing an SMP friendly way to collect the mbtypes stats under the
    already introduced per-CPU locks (i.e. hopefully don't use atomic() - it
    seems too costly for a mere stat update, especially when other locks are
    already present).
  - Optionally have systat(1) display not only "total free mbufs" but also
    "total free mbufs per CPU pool."
  - Fix minor length-fetching issues in netstat(1) related to recently
    re-enabled option to read mbuf stats from a core file.
  - Move reference counters at least for mbuf clusters into an unused portion
    of the cluster itself, to save space and need to allocate a counter.
  - Look into introducing resource freeing possibly from a kproc.

Reviewed by (in parts): jlemon, jake, silby, terry
Tested by: jlemon (Intel & Alpha), mjacob (Intel & Alpha)
Preliminary performance measurements: jlemon (and me, obviously)
URL: http://people.freebsd.org/~bmilekic/mb_alloc/
2001-06-22 06:35:32 +00:00
Takanori Watanabe
f89558df9a Add Myself. 2001-06-22 04:57:20 +00:00
Peter Wemm
0764acb60f Dive in as well. 2001-06-22 04:52:05 +00:00
Motoyuki Konno
b6c9f3b104 Add myself. 2001-06-22 04:38:22 +00:00
Munechika SUMIKAWA
a10d4301dd Oops, I was born in Osaka. Kanagawa is my current address :-) 2001-06-22 02:45:25 +00:00
Ade Lovett
58e24cfd43 Add myself. sos, you have a clone (albeit younger by 9 years :) 2001-06-22 02:30:27 +00:00
Dag-Erling Smørgrav
9b07a06672 Stylify, ANSIfy, silence warnings, plug a memory leak, don't assume the
server is well-behaved wrt. line endings.

PR:		bin/28082
Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-22 01:52:37 +00:00
Vanilla I. Shu
91d8ba8789 Add myself. 2001-06-22 01:11:35 +00:00
Matt Jacob
51a9be2aed Okay, I'll go along with the gag.... Interesting- I'm quite startled
to note that of the people added so far, one has the same birthdate as me
(April Fool's Day), and that only two other folks are older than I am.
2001-06-22 00:23:02 +00:00
Greg Lehey
fe7ecc4a40 Add myself. 2001-06-22 00:19:14 +00:00
Brooks Davis
45ae78bcc5 Slightly lower average age. 2001-06-21 20:44:32 +00:00
Bill Fumerola
676393a337 represent detroit rock city 2001-06-21 20:15:10 +00:00
David E. O'Brien
d6a9fd06de Add the Bzip2 binaries. These are starting to get used more and more
in the base system.
2001-06-21 19:18:16 +00:00
Michael C . Wu
d05ee7b1be Follow Ben's suit in decreasing the average age here
by adding myself.
2001-06-21 15:06:14 +00:00
Ben Smithurst
2e32a5ffdf Hopefully decrease the average age further still... :-) 2001-06-21 14:59:25 +00:00
Bill Fumerola
47f7cc6db5 bring down the average age a little 2001-06-21 09:57:48 +00:00
Ruslan Ermilov
23a8dddc5d FreeBSD calendar.
Submitted by:	developers
2001-06-21 09:07:22 +00:00