Commit Graph

61295 Commits

Author SHA1 Message Date
Dima Dorfman
982f5d88ff WARNS= -> WARNS?=
Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-22 21:38:30 +00:00
John Baldwin
49f886f5d3 Be conservative and always perform an mb after an atomic_cmpset operation. 2001-06-22 21:13:20 +00:00
John Baldwin
6d541bf1ae - Protect all accesses to nsw_[rw]count{,_{,a}sync} with the pbuf mutex.
- Don't drop the vm mutex while grabbing the pbuf mutex to manipulate
  said variables.
2001-06-22 21:12:19 +00:00
Matt Jacob
2f7f966cb8 int -> size_t fix 2001-06-22 19:54:38 +00:00
Matt Jacob
d4d79f279c Make hostid an unsigned long (matches kern_mib.c change)
PR:		kern/21132
MFC after:	1 month
2001-06-22 19:51:45 +00:00
Bruce A. Mah
57f2d14907 Take sbuf(9) item out of the release notes. It doesn't have as much
relevance to the average user as I thought it did originally.
2001-06-22 17:28:42 +00:00
Bruce A. Mah
f1aafe2646 Note that ed(4) supports the DE305. 2001-06-22 17:26:02 +00:00
Bruce A. Mah
279288f01a New/updated release notes: gensetdefs(8) removed, mbuf allocator SMP-friendly
changes, TCP_RESTRICT_RST removed, getprogname(3), setprogname(3).

MFCs noted:  dump(8) -T argument processing fixed, ee(1) 1.4.2.
2001-06-22 16:56:26 +00:00
Matt Jacob
8f5a1742c2 Temporary fix at least- define NCPU_PRESENT which will be mp_npcus for
SMP kernels, one (1) for non-SMP.
2001-06-22 16:03:23 +00:00
Jim Pirzyk
f83ae79fbe changed hostid from long to unsigned long to be able to store values > 2GB
on i386 platforms.  Also changed SYSCTL type from INT to ULONG and removed
comment about it.

PR:		kern/21132
MFC after:	1 month
2001-06-22 16:03:14 +00:00
Bruce A. Mah
cc8294cc08 MFS: Fix minor grammatical problem in orm(4) item. 2001-06-22 15:59:25 +00:00
Bruce A. Mah
0b6c0adac9 New/updated release notes: inetd(8) can manage AF_UNIX sockets, resolver(3)
with EDNS0 support, col(1) -p, mdmfs(8), bzip2 1.0.1, Heimdal
0.3f.

MFCs noted:  orm(4), nge(4), lge(4), packet fragmentation limits (plus
minor update), df(1) -l, pkg_version(1) -s.
2001-06-22 15:51:49 +00:00
John Baldwin
f4a395d6e4 Doh, missed a printf -> db_printf in the previous commit. 2001-06-22 15:37:48 +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
Hajimu UMEMOTO
66096b9f78 Correct typo. It should be site-local address prefix.
Submitted by:	kuriyama
MFC after:	3 days
2001-06-22 13:49:15 +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
David E. O'Brien
3d67411316 Got my r's and t's mixed up. Fix sorting. 2001-06-22 07:26:08 +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
Jun Kuriyama
a080f2d84f Fix typos in comment.
(s/IPFIREWALL_DEFAULT_TO_ACCEPT/IPV6FIREWALL_DEFAULT_TO_ACCEPT/)

MFC after:	1 week
2001-06-22 06:25:54 +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
Warner Losh
0d415dff80 More updates
# Note, I managed to fat finger some mail commands and lost who submitted some
# of these entries.  If it was you, email me and I'll for a commit to
# give proper credit.
2001-06-22 04:50:11 +00:00
Motoyuki Konno
b6c9f3b104 Add myself. 2001-06-22 04:38:22 +00:00
Warner Losh
a83ad5b62c Add BreezeNET PC-DS.11. It is yet another wireless card.
Submitted by: Danny Braniss <danny@cs.huji.ac.il>
2001-06-22 03:17:25 +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
Bruce A. Mah
4139a26885 Put docbook.css in the ftp and cdrom areas of a release build because
they have HTML renderings of the release documentation.
2001-06-22 01:15:43 +00:00
Vanilla I. Shu
91d8ba8789 Add myself. 2001-06-22 01:11:35 +00:00
Matt Jacob
ed37c8743e Move check against CAM_NEW_TRAN_CODE ahead of the file that might include
the option file that would define it.
2001-06-22 01:02:41 +00:00
Ian Dowse
4086cd0d7e Make it much more obvious that the use of NQNFS is discouraged (the
NQNFS code is ancient, bug-ridden, and should probably be removed).
The wording here was very confusing; it was easy to get the impression
that NQNFS is an extension to NFSv3 when in fact it just uses some
NFSv3-like extensions on top of NFSv2. As witnessed by the mailing
lists and PRs, some people were reading the description and deciding
that NQNFS was what they wanted to use.

MFC after:	1 week
2001-06-22 00:41:20 +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
Matt Jacob
04438a1130 Fix compilation error on alpha. 2001-06-21 22:34:50 +00:00
Brooks Davis
45ae78bcc5 Slightly lower average age. 2001-06-21 20:44:32 +00:00
Dima Dorfman
7450e06249 Change the way the value of DESTDIR is determined for the release
notes build. Instead of having doc.relnotes.mk make a guess, hardcode
quite a bit (but as little as possible) in Makefile.inc's sprinkled
strategicly throughout the tree.  This has the advantage of actually
working properly (which is a Good Thing(tm)), and the disadvantages of
more files in the repository and more hardcoded paths (which are both
Bad Things(tm)).
2001-06-21 20:43:43 +00:00
Bill Fumerola
676393a337 represent detroit rock city 2001-06-21 20:15:10 +00:00
Dima Dorfman
ba23229ef8 Don't set CONSPEED to the default and deobfuscate the comment.
PR:		28296
Submitted by:	bde, Giorgos Keramidas <keramida@ceid.upatras.gr>
2001-06-21 19:50:11 +00:00
George C A Reid
733a4ea771 Use the M_ZERO flag to malloc(9)
Reviewed by:	cg
MFC after:	1 week
2001-06-21 19:45:59 +00:00
Assar Westerlund
4ed5408587 add an explicit dependency to run yacc before lex instead of using
.ORDER
2001-06-21 19:19:00 +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
Crist J. Clark
ab26031ac2 Fixing a bug reported on freebsd-security. It is possible for
non-printable characters to sneak into /var/log/messages (e.g.
someone aims a Solaris/Linux RCP exploit at your FreeBSD box and
you end up with his shellcode as part of a log entry). You might
get something like,

  host.mydom.org login failures:
  Binary file (standard input) matches

In the daily security script as a result. Allowing attackers to
mess with your security script's ability to accurately report
is a Bad Thing. Tell grep(1) to treat /var/log/messages like a
text file even if it has non-printable characters.

Submitted by:	Tim Zingelman <zingelman@fnal.gov> on freebsd-security
Approved by:	ru
MFC after:	1 week
2001-06-21 19:17:15 +00:00
David E. O'Brien
d245408639 Fix long lines. 2001-06-21 19:17:12 +00:00