Commit Graph

87158 Commits

Author SHA1 Message Date
simokawa
0cd251e418 Fix printf warning on RELENG_4. 2003-03-04 06:47:17 +00:00
jeff
8f4d53e3aa - Create a function sched_interact_score() which decides on the
interactivity of a kseg and assigns it a value of 0 through 100.
 - Use sched_interact_score() to determine the dynamic priority.
 - Define SCHED_CURR() in terms of sched_interact_score().
 - Adjust the maximum slice back down to 100ms.
 - Remove redundant clearing of ke_runq in sched_wakeup()
 - Clean up #defines and comment them.
2003-03-04 02:45:59 +00:00
jeff
4de0ae322c - Add a new 'flags' parameter to getblk().
- Define one flag GB_LOCK_NOWAIT that tells getblk() to pass the LK_NOWAIT
   flag to the initial BUF_LOCK().  This will eventually be used in cases
   were we want to use a buffer only if it is not currently in use.
 - Convert all consumers of the getblk() api to use this extra parameter.

Reviwed by:	arch
Not objected to by:	mckusick
2003-03-04 00:04:44 +00:00
jeff
7880d78b55 - Correct the wchan in vop_stdfsync()
This is almost what bde asked for.  There is some desire to have per fs wchans
still but that is difficult giving the current arrangement of the code.
2003-03-03 23:37:50 +00:00
ru
6b990c6f87 If we carry our MODULES_WITH_WORLD, we probably also do not want
for installkernel to wipe them out later.  So install them under
/boot/modules if that is the case.
2003-03-03 22:54:35 +00:00
ru
f9c71e51d9 FreeBSD 5.0 has stopped shipping /modules 2.5 years ago. Catch
up with this further by excluding /modules from the (default)
kern.module_path.
2003-03-03 22:53:35 +00:00
ru
b9d961af59 exists() is too aggressive when searching for files without a full path.
Inspired by:	bsd.prog.mk,v 1.105
2003-03-03 22:51:22 +00:00
ru
bc6ef60e0e 3rd party modules live in /boot/modules nowadays. 2003-03-03 22:49:21 +00:00
ru
eac90e51b8 Correct the path to the modules directory. 2003-03-03 22:48:49 +00:00
ru
4972c7efeb Add an xref to kldconfig(8). 2003-03-03 22:48:06 +00:00
ru
c8dda64242 /modules is gone long ago, use the safe equivalents. 2003-03-03 22:46:36 +00:00
phantom
4f2d1b56c7 MFlibc_r: add and document pthread_attr_get_np() function. 2003-03-03 22:40:20 +00:00
njl
84c3532e0f Pick up one file missed in the previous vprint() cleanup 2003-03-03 19:50:36 +00:00
njl
5a225ad933 Finish cleanup of vprint() which was begun with changing v_tag to a string.
Remove extraneous uses of vop_null, instead defering to the default op.
Rename vnode type "vfs" to the more descriptive "syncer".
Fix formatting for various filesystems that use vop_print.
2003-03-03 19:15:40 +00:00
bmah
7e3263308b SA:03-04 note was a poor cut-n-paste from the SA. Do it right this
time.
2003-03-03 18:23:57 +00:00
bmah
e1ea0f1223 New errata item: SA-03:04. 2003-03-03 18:20:00 +00:00
bmah
ace1448c0d New release note: SA-03:04. 2003-03-03 18:12:43 +00:00
bmah
8b37fbb537 Updated release notes: sendmail-8.12.8 (+MFC), tcpdump-3.7.2 (+MFC).
MFC noted:  ISC DHCP 3.0.1RC11.
2003-03-03 17:48:09 +00:00
gshapiro
909f920c2e sendmail 8.12.8 has been imported 2003-03-03 17:25:49 +00:00
gshapiro
82f90419f3 Fix conflicts from sendmail 8.12.8 import 2003-03-03 17:18:01 +00:00
gshapiro
6cbdf4ebe1 This commit was generated by cvs2svn to compensate for changes in r111823,
which included commits to RCS files with non-trunk default branches.
2003-03-03 17:09:13 +00:00
gshapiro
8b739caa56 Import sendmail 8.12.8 2003-03-03 17:09:13 +00:00
phk
8465095037 Rearrange the members of struct cdevsw to be absolutely sure to catch
any initializations which are not done right.
2003-03-03 16:34:54 +00:00
phk
b67232b68c Make nokqfilter() return the correct return value.
Ditch the D_KQFILTER flag which was used to prevent calling NULL pointers.
2003-03-03 16:24:47 +00:00
gad
8b25734b05 Add missing 'static' on two routines, so they match their declarations.
PR:		29363 (a small part of)
Submitted by:	dinoex
MFC after:	3 weeks
2003-03-03 15:31:35 +00:00
simokawa
303b5cebb7 Simplify ORB queue management.
Don't send doorbell and send ORB pointer only if it's necessary.
This reduces bus traffic and interrupts much.
2003-03-03 15:27:29 +00:00
phk
7499df5457 Add a "-S sectorsize" option to enable Kirk to find a bug :-) 2003-03-03 13:05:00 +00:00
phk
8a0180038b Don't initialize d_kqfilter to 0. 2003-03-03 12:48:14 +00:00
des
66c619c7d8 Add and document support for a FETCH_BIND_ADDRESS environment variable
specifying a local address to bind sockets to.  Caveat: lightly tested.

PR:		bin/37572
2003-03-03 12:35:03 +00:00
phk
0ae911eb0e Gigacommit to improve device-driver source compatibility between
branches:

Initialize struct cdevsw using C99 sparse initializtion and remove
all initializations to default values.

This patch is automatically generated and has been tested by compiling
LINT with all the fields in struct cdevsw in reverse order on alpha,
sparc64 and i386.

Approved by:    re(scottl)
2003-03-03 12:15:54 +00:00
grehan
e58d97a666 Simplify ofw_pci_fixup(). It doesn't need to be recursive, since the
bridge code already handles IRQ adjustment on the far side of a bridge.

Reviewed by:  benno
2003-03-03 12:05:06 +00:00
ru
74cf5d6de7 mdoc(7) police: Revision. 2003-03-03 11:51:30 +00:00
sos
170c53b3f2 Minor cleanup of the Promise code. 2003-03-03 11:51:08 +00:00
ru
779559752b mdoc(7) police: Nits. 2003-03-03 11:45:18 +00:00
ru
b6a38ff592 Make sure the default install comes with /etc/login.conf hashed. 2003-03-03 11:19:18 +00:00
sos
e29bfdefcc Always set the setmode funcptr. 2003-03-03 11:15:32 +00:00
phk
31cc9c5b3f Don't pick up a name from the dev_t if it is not there. 2003-03-03 11:14:36 +00:00
des
2b852dbfbd Nuke caddr_t.
Reminded by:	ru
2003-03-03 10:49:37 +00:00
murray
8fdf2653d7 Add another index checking script to ensure the sanctity of the
package set. More robust than others already in the tree, but a bit
crufty as this was mostly written in the Walnut Creek CDROM days.

Sponsored by: FreeBSD Mall, Inc.
2003-03-03 09:42:47 +00:00
jmallett
3971e27f3b Strip out bogus difference from when this came from NetBSD: transliterating
upper-case alphabetical characters to lower-case ones, and spaces to dashes.
The person who added this when bringing the code from NetBSD has no idea why
he added it, and nobody on freebsd-fs came up with any cases where the icky
part (the conversion of spaces to underscores) was needed.  The removal of
the upper-case conversion follows an even more obvious logic: it avoids any
sort of namespace issues.  People using StUdLy caps for filesystem names
deserve everything they get.  Otherwise, Efs and efs might be totally different
things, but would use the same fsck.  And we don't want that, right?  That
just provokes the sort of foot-shooting this would prevent.

If you have problems with this, I'll walk you through using sed on your fstab,
cause the only way you could have problems is if you spelled ufs as "UFS".
Most likely, you haven't done that.

MFC after:	1 month
2003-03-03 09:40:32 +00:00
ru
0aeb955087 Leave the `clobber' target alone, it clobbers too much (including
the generated Makefile) to be useful as the cleandir replacement.

Reported by:	des
2003-03-03 09:35:44 +00:00
murray
fe842b4ff9 Update the number of ports in the ports collection. Although we've
gained 400 ports since the last time this was updated, the disk space
estimate is still accurate.
2003-03-03 09:28:37 +00:00
des
3c182bd3cd Clean up whitespace and remove register keyword. 2003-03-03 09:17:12 +00:00
des
021faa11ac More caddr_t removal, in conjunction with copy{in,out}(9) this time.
Also clean up some egregious casts and incorrect use of sizeof.
2003-03-03 09:14:26 +00:00
ru
0968a2b964 Catch up with sys/conf/kern.post.mk,v 1.39 -- we can now use
plain ${CLEANDIR} to clean kernel and modules.  This has an
additional nicety of respecting NOCLEANDIR.
2003-03-03 08:50:32 +00:00
mdodd
3b02e497a0 Revert last commit. File tracks NetBSD.
Requested by:	 sam
2003-03-03 06:09:18 +00:00
jeff
20fffd0274 - Shift the tick count by 10 and back around sched_pctcpu_update()
calculations.  Keep this changes local to the function so the tick count
   is in its natural form otherwise.  Previously 1000 was added each time
   a tick fired and we divided by 1000 when it was reported.  This is done
   to reduce rounding errors.
2003-03-03 05:29:09 +00:00
das
1b88f49a56 - Document the fact that we now use pam_passwdqc(8) to check
password quality, not login.conf(5).
- Move warnexpire and warnpasswd from the ``Accounting Limits''
  section to ``Authentication'', and nix everything else in the
  former section.  The accounting knobs are not available in
  the base system, and the subset of them available in ports
  should be documented in the ports' manpages.

PR:		47960
Reviewed by:	mike (mentor), doc
2003-03-03 05:09:24 +00:00
mdodd
587970fdc3 sizeof(struct llc) -> LLC_SNAPFRAMELEN
sizeof(struct ether_header) -> ETHER_HDR_LEN
 sizeof(struct fddi_header) -> FDDI_HDR_LEN
2003-03-03 05:04:57 +00:00
jeff
2d1c8006af - In sched_add() special case PRI_TIMESHARE and PRI_ITHD|PRI_REALTIME. We
always place ITHD & REALTIME threads on the current queue of the current
   cpu.  Prior to this change an interrupt thread would only ever run on one
   cpu.
2003-03-03 04:28:07 +00:00