]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoUse of manual page entity for ehci(4).
blackend [Mon, 19 May 2003 21:32:45 +0000 (21:32 +0000)]
Use of manual page entity for ehci(4).

Request from: bmah

21 years agoUse of manual page entity for ehci(4).
blackend [Mon, 19 May 2003 21:30:09 +0000 (21:30 +0000)]
Use of manual page entity for ehci(4).

Approved by: re@ (bmah@)

21 years agosys/sys/limits.h:
kan [Mon, 19 May 2003 20:29:07 +0000 (20:29 +0000)]
sys/sys/limits.h:

 - Fix visibilty test for LONG_BIT and WORD_BIT.  `#if defined(__FOO_VISIBLE)'
   is alays wrong because __FOO_VISIBLE is always defined (to 0 for
   invisibility).

sys/<arch>/include/limits.h
sys/<arch>/include/_limits.h:

 - Style fixes.

Submitted by: bde
Reviewed by: bsdmike
Approved by: re (scottl)

21 years agomdoc(7) fixes: Fixed the markup in the BUGS section, bumped document date.
ru [Mon, 19 May 2003 20:03:28 +0000 (20:03 +0000)]
mdoc(7) fixes: Fixed the markup in the BUGS section, bumped document date.

21 years agomdoc(7) fixes: Fix the markup in the recently added ENVIRONMENT section.
ru [Mon, 19 May 2003 19:58:29 +0000 (19:58 +0000)]
mdoc(7) fixes: Fix the markup in the recently added ENVIRONMENT section.

21 years agomdoc(7) fixes: Mark "gated" with the .Nm macro.
ru [Mon, 19 May 2003 19:54:00 +0000 (19:54 +0000)]
mdoc(7) fixes: Mark "gated" with the .Nm macro.

Approved by: re (blanket)

21 years agoAdd a newline at end of file.
ru [Mon, 19 May 2003 19:52:29 +0000 (19:52 +0000)]
Add a newline at end of file.

Approved by: re (blanket)

21 years agoadd a NOCRYPT check alongside the NO_OPENSSL check.
des [Mon, 19 May 2003 15:52:50 +0000 (15:52 +0000)]
add a NOCRYPT check alongside the NO_OPENSSL check.

Approved by: re (scottl)

21 years agoRetire the useless NOSECURE knob.
des [Mon, 19 May 2003 15:52:01 +0000 (15:52 +0000)]
Retire the useless NOSECURE knob.

Approved by: re (scottl)

21 years agoThis commit was generated by cvs2svn to compensate for changes in r115155,
ru [Mon, 19 May 2003 14:37:41 +0000 (14:37 +0000)]
This commit was generated by cvs2svn to compensate for changes in r115155,
which included commits to RCS files with non-trunk default branches.

21 years agoApply a vendor fix for one problem with tagged lists. From ChangeLog:
ru [Mon, 19 May 2003 14:37:41 +0000 (14:37 +0000)]
Apply a vendor fix for one problem with tagged lists.  From ChangeLog:

2003-05-18  Werner LEMBERG  <wl@gnu.org>
        * tmac/doc.tmac (doc-tag-list): Force horizontal mode after tag
        to make items work which consist only of a tag.

2003-05-17  Werner LEMBERG  <wl@gnu.org>
        * tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces
        aren't stretched in a tag (this can fail with unformatted boxes).
        Instead, insert a break and go back one line.

Approved by: re (blanket)

21 years agoPrint the right position on disk errors
sos [Mon, 19 May 2003 13:43:12 +0000 (13:43 +0000)]
Print the right position on disk errors

Approved by: re@

21 years agoUnbork the chip locating code.
sos [Mon, 19 May 2003 13:42:23 +0000 (13:42 +0000)]
Unbork the chip locating code.

Approved by: re@

21 years agoTurn pmap_install_pte() into a critical section. We better not get
marcel [Mon, 19 May 2003 08:02:36 +0000 (08:02 +0000)]
Turn pmap_install_pte() into a critical section. We better not get
interrupted while writing into the VHPT table. While here, make sure
memory accesses a properly ordered. Tag invalidation must happen
first so that the hardware VHPT walker will not be able to match
this entry while we're updating it and we have to make sure the new
new tag gets written only after the PTE is completely updated.

Approved by: re (blanket)

21 years ago- Use xmalloc() and xstrdup() instead of malloc() and strdup().
mdodd [Mon, 19 May 2003 07:10:12 +0000 (07:10 +0000)]
- Use xmalloc() and xstrdup() instead of malloc() and strdup().
- Add a global mapping if we have a successful constrained match.

Approved by: re

21 years agoUnconditionally set pcb_current_pmap. WIP versions of the code
marcel [Mon, 19 May 2003 06:05:30 +0000 (06:05 +0000)]
Unconditionally set pcb_current_pmap. WIP versions of the code
previously committed cleared pcb_current_pmap prior to changing
the region registers, but that was removed before committing.
Since we don't normally (at all?) pass a NULL pointer, the bug
was mostly harmless. Fix it while I'm here...

I'm here because we need to have data serialization after writing
to the region registers. Not doing so was likely the cause of the
hangs we were experiencing. General exceptions in cpu_switch may
also be caused by the lack of serialization.

Approved by: re (blanket)

21 years agopmap_install() needs to be atomic WRT to context switching. Protect
marcel [Mon, 19 May 2003 04:16:30 +0000 (04:16 +0000)]
pmap_install() needs to be atomic WRT to context switching. Protect
switching user regions (region 0-4) with schedlock. Avoid unnecessary
recursion on schedlock by moving the core functionality to another
function (pmap_switch()) where we assert schedlock is held. Turn
pmap_install() into a wrapper that grabs schedlock. This minimizes
the number of callsites that need to be changed.
Since we already have schedlock in cpu_switch() and cpu_throw(),
have them call pmap_switch() directly. These were also the only two
calls to pmap_install() outside pmap.c, so make pmap_install() static
and remove its prototype from pmap.h

Approved by: re (blanket)

21 years agoprint_config:
grog [Mon, 19 May 2003 02:21:31 +0000 (02:21 +0000)]
print_config:
  Change config format slightly to save plex preferences correctly.

vinum_scandisk: reinitialise volatile pointer after function call.
This is the "deafc0de" bug.

Approved by: re (scottl)

21 years agoIf we seem to be out of VM, don't allow the pagedaemon to kill
das [Mon, 19 May 2003 00:51:07 +0000 (00:51 +0000)]
If we seem to be out of VM, don't allow the pagedaemon to kill
processes in the first pass.  Among other things, this will give
us a chance to launder vnode-backed pages before concluding that
we need more swap.  This is particularly useful for systems that
have no swap.

While here, update a comment and remove some long-unused code.

Reported by: Lucky Green <shamrock@cypherpunks.to>
Suggested by: dillon
Approved by: re (rwatson)

21 years agoLock the vm object when performing vm_object_page_clean().
alc [Sun, 18 May 2003 22:02:51 +0000 (22:02 +0000)]
Lock the vm object when performing vm_object_page_clean().

Approved by: re (rwatson)

21 years agoRecreate devnodes on USB_SET_ALTINTERFACE ioctl.
ticso [Sun, 18 May 2003 21:22:00 +0000 (21:22 +0000)]
Recreate devnodes on USB_SET_ALTINTERFACE ioctl.
This fixes net/pppoa port for Alcatel Speedtouch devices.

Submitted by: Jay Cornwall <jay@evilrealms.net>
Tested by: Francois Rogler <francois@rogler.org>
Approved by: re (scottl)

21 years agoFixed troff(1) and mdoc(7) warnings.
ru [Sun, 18 May 2003 21:05:22 +0000 (21:05 +0000)]
Fixed troff(1) and mdoc(7) warnings.

Approved by: re (blanket)

21 years agoThere's just no reason to not have these in GENERIC.
ru [Sun, 18 May 2003 20:39:15 +0000 (20:39 +0000)]
There's just no reason to not have these in GENERIC.

Found by: release/*/drivers.conf cleaning script
Approved by: re (scottl)

21 years agoUnbreak parallel make of _includes after revision 1.356 changes.
ru [Sun, 18 May 2003 20:22:26 +0000 (20:22 +0000)]
Unbreak parallel make of _includes after revision 1.356 changes.

Spotted by: bde
Approved by: re (scottl)

21 years agoAdd a manual page for the USB Enhanced Host Controller Driver.
trhodes [Sun, 18 May 2003 19:55:39 +0000 (19:55 +0000)]
Add a manual page for the USB Enhanced Host Controller Driver.

Submitted by: ticso (who obtained the original version from NetBSD)

21 years agoFor EXT*DIR, use -H in addition to -R, so that a symlink may be
jmallett [Sun, 18 May 2003 19:34:03 +0000 (19:34 +0000)]
For EXT*DIR, use -H in addition to -R, so that a symlink may be
used in the EXTSRCDIR case, for example, if one finds it useful
to symlink /usr/src to an actual source tree, and use /usr/src
as the EXTSRCDIR.

This has no effects on release builds not using external directories.

Reviewed by: ru
Approved by: scottl (re)

21 years agoAdd manual page for, Myson Technology PCI Ethernet Driver.
hmp [Sun, 18 May 2003 19:02:38 +0000 (19:02 +0000)]
Add manual page for, Myson Technology PCI Ethernet Driver.

PR:      docs/39214
Reviewed by: bmah, julian, trhodes
Approved by: des (mentor), re (scottl)

21 years agoSupport the ICH5 SATA part.
sos [Sun, 18 May 2003 16:45:48 +0000 (16:45 +0000)]
Support the ICH5 SATA part.
Fix HPT374 UDMA133 timing.
Fix Promise ID.
Cosmetics on probe print for Promise & HPT.

Approved by: re

21 years agoAdd string for SATA150
sos [Sun, 18 May 2003 16:43:08 +0000 (16:43 +0000)]
Add string for SATA150

Approved by: re

21 years agoAdd define for SATA150
sos [Sun, 18 May 2003 16:40:38 +0000 (16:40 +0000)]
Add define for SATA150

Approved by: re

21 years agoFix a simple bug that prevents svc_tli_create to bind to the address
mbr [Sun, 18 May 2003 15:07:25 +0000 (15:07 +0000)]
Fix a simple bug that prevents svc_tli_create to bind to the address
specified by caller.

NetBSD rev. 1.6

Reviewed by: rwatson
Approved by: rwatson (re)
Obtained from: NetBSD

21 years agoTell how to completely disable ACPI. Add warnings about how bad
imp [Sun, 18 May 2003 04:21:38 +0000 (04:21 +0000)]
Tell how to completely disable ACPI.  Add warnings about how bad
kharma it will be to disable some or all of acpi on ia64 or amd64 (are
there other non-i386 platforms that FreeBSD supports with ACPI?).

Submitted by: Ryan Losh
Approved by: re@ (rwatson)

21 years agoReduce the size of a vm object by converting its shadow list from a TAILQ
alc [Sun, 18 May 2003 04:10:16 +0000 (04:10 +0000)]
Reduce the size of a vm object by converting its shadow list from a TAILQ
to a LIST.

Approved by: re (rwatson)

21 years agoEnable the MUTEX_NOINLINE option for the BOOTMFS kernel for ia32, pc98, and
scottl [Sun, 18 May 2003 03:52:22 +0000 (03:52 +0000)]
Enable the MUTEX_NOINLINE option for the BOOTMFS kernel for ia32, pc98, and
alpha.  This shaves 36-50k off of the compressed kernel size.

Submitted by: jhb

21 years agoAdd the MUTEX_NOINLINE option that explicitely de-inlines the mutex
scottl [Sun, 18 May 2003 03:46:30 +0000 (03:46 +0000)]
Add the MUTEX_NOINLINE option that explicitely de-inlines the mutex
operations.

Submitted by: jhb

21 years agoApparently ldconfig(8) prefers the format as the first argument
mtm [Sun, 18 May 2003 03:39:39 +0000 (03:39 +0000)]
Apparently ldconfig(8) prefers the format as the first argument
with the rest of the options following it. This caused problems for
people using ldconfig_insecure=yes because the '-i' switch was being
positioned before the format argument.

Approved by: markm/mentor (implicit), re/rwatson
PR: 47430

21 years agoInstall kpasswdd.
mtm [Sun, 18 May 2003 03:34:24 +0000 (03:34 +0000)]
Install kpasswdd.

Approved by: markm/mentor, re/rwatson

21 years ago-lbsdxml lives in lib/libexpat. *Blush*
ru [Sun, 18 May 2003 00:40:22 +0000 (00:40 +0000)]
-lbsdxml lives in lib/libexpat.  *Blush*

Submitted by: tmm (Makefile.inc1)

21 years agoClarify setting sysctl variables via loader(8) tunables
brueffer [Sun, 18 May 2003 00:27:02 +0000 (00:27 +0000)]
Clarify setting sysctl variables via loader(8) tunables

* s/can not/cannot/

Submitted by: ru (*)
Approved by: re (rwatson)

21 years agoUnbreak world: record libgeom dependency on libbsdxml here too.
ru [Sat, 17 May 2003 23:07:09 +0000 (23:07 +0000)]
Unbreak world: record libgeom dependency on libbsdxml here too.

Forgotten by: ru
Submitted by: des
Verified by: tools/make_libdeps.sh
Approved by: re (scottl) (related change)

21 years agomdoc(7) markup overhaul.
ru [Sat, 17 May 2003 22:53:44 +0000 (22:53 +0000)]
mdoc(7) markup overhaul.

21 years agoDocument the DATE configuration field.
des [Sat, 17 May 2003 22:40:34 +0000 (22:40 +0000)]
Document the DATE configuration field.

21 years agoFix a bug in report() which prevented two failure reports today from
des [Sat, 17 May 2003 22:38:36 +0000 (22:38 +0000)]
Fix a bug in report() which prevented two failure reports today from
reaching the lists.  Also add support for tinderbox.pl's --date option.

21 years agoFixed the markup in the recently added ENVIRONMENT section.
ru [Sat, 17 May 2003 22:35:35 +0000 (22:35 +0000)]
Fixed the markup in the recently added ENVIRONMENT section.

21 years agomdoc(7) fix: Add the forgotten paragraph command.
ru [Sat, 17 May 2003 22:31:48 +0000 (22:31 +0000)]
mdoc(7) fix: Add the forgotten paragraph command.

Approved by: re (blanket)

21 years agomdoc(7) fixes: Expand contraction.
ru [Sat, 17 May 2003 22:21:27 +0000 (22:21 +0000)]
mdoc(7) fixes: Expand contraction.

21 years agoFixed the markup and wording of the kern.ipc.nsfbufs tunable.
ru [Sat, 17 May 2003 22:17:23 +0000 (22:17 +0000)]
Fixed the markup and wording of the kern.ipc.nsfbufs tunable.
(It does not modify NSFBUFS, but just overrides it if set.)

Approved by: re (blanket)

21 years agoAdd fdisk for $MACHINE_ARCH == amd64
peter [Sat, 17 May 2003 20:40:42 +0000 (20:40 +0000)]
Add fdisk for $MACHINE_ARCH == amd64

21 years agoAvoid a corrupt timestamp on the console
gshapiro [Sat, 17 May 2003 20:07:54 +0000 (20:07 +0000)]
Avoid a corrupt timestamp on the console

PR: 51587
Submitted by: Dmitry Sivachenko <mitya@cavia.pp.ru>
Approved by: re (rwatson)
MFC after: 3 days

21 years agoAvoid code duplication by using libutil's trimdomain() instead of
gshapiro [Sat, 17 May 2003 20:05:18 +0000 (20:05 +0000)]
Avoid code duplication by using libutil's trimdomain() instead of
an incorrect re-implementation.

PR: 52223, 52342
Submitted by: Dan Nelson <dnelson@allantgroup.com>
Approved by: re (bmah/rwatson)
MFC after: 2 days

21 years agoSince libmap.conf is referenced in rtld.1, include it in the references
rwatson [Sat, 17 May 2003 19:46:49 +0000 (19:46 +0000)]
Since libmap.conf is referenced in rtld.1, include it in the references
section.

Approved by: re (scottl)

21 years agodisklabel(8) is spelled bsdlabel(8) or sunlabel(8) these days.
ru [Sat, 17 May 2003 19:16:28 +0000 (19:16 +0000)]
disklabel(8) is spelled bsdlabel(8) or sunlabel(8) these days.
Also make sure bsdlabel(8) (along with the disklabel(8) compat
link) still appear on the fixit floppies of platforms that use
it natively (alpha, i386, and pc98).

Approved by: re (scottl)

21 years agoStyle fixes.
ru [Sat, 17 May 2003 19:06:45 +0000 (19:06 +0000)]
Style fixes.

Reviewed by: phk
Approved by: re (scottl)

21 years agoMoved libgeom.so dependencies to where they belong.
ru [Sat, 17 May 2003 19:05:17 +0000 (19:05 +0000)]
Moved libgeom.so dependencies to where they belong.

Reviewed by: phk
Approved by: re (scottl)

21 years agoApply the first in a series of patches which will bring bsd.README up to date.
trhodes [Sat, 17 May 2003 18:03:05 +0000 (18:03 +0000)]
Apply the first in a series of patches which will bring bsd.README up to date.

PR: 35652
Submitted by: "Simon L. Nielsen" <simon@nitro.dk> (original version)
Approved by: re (bmah)

21 years agoAdd an EXAMPLES section.
trhodes [Sat, 17 May 2003 15:46:46 +0000 (15:46 +0000)]
Add an EXAMPLES section.
Xref sh(1) as we use environment variables.

PR: 43899
Reviewed by: des

21 years agoMake sure realinstall works when ${.OBJDIR} != ${.CURDIR}.
des [Sat, 17 May 2003 14:15:59 +0000 (14:15 +0000)]
Make sure realinstall works when ${.OBJDIR} != ${.CURDIR}.

21 years agoMake some spaces non-breakable.
des [Sat, 17 May 2003 14:13:51 +0000 (14:13 +0000)]
Make some spaces non-breakable.

21 years agoConstrain the chekout date to ISO format (yyyy-mm-dd) and add a special
des [Sat, 17 May 2003 14:12:48 +0000 (14:12 +0000)]
Constrain the chekout date to ISO format (yyyy-mm-dd) and add a special
case, "today", which corresponds to 00:00 on the day the run starts.

Remove NO_CPU_CFLAGS and NO_CPU_COPTFLAGS.  This should be safe since we
clear the environment and set __MAKE_CONF to /dev/null.  NO_CPU_CFLAGS
actually breaks the Alpha release by preventing the inclusion of -mieee
in CFLAGS.

Do not set BUILDNAME as the release/Makefile already constructs a better
one than we do (though I wish there was a way to s/-SNAP/-TINDERBOX/)

21 years agoMake the Alpha floppies fit. At least we can build a release now.
wilko [Sat, 17 May 2003 11:58:28 +0000 (11:58 +0000)]
Make the Alpha floppies fit. At least we can build a release now.

Patch kindly provided by: obrien

21 years agoRemove unused files. cpu_switch() and cpu_throw(), normally in swtch.s,
marcel [Sat, 17 May 2003 04:55:04 +0000 (04:55 +0000)]
Remove unused files. cpu_switch() and cpu_throw(), normally in swtch.s,
can be found in machdep.c.

Approved: re@

21 years agoActually get all the bits for sd_hibase.. it was 16 bits short. oops.
peter [Sat, 17 May 2003 02:05:10 +0000 (02:05 +0000)]
Actually get all the bits for sd_hibase.. it was 16 bits short. oops.

Approved by: re (amd64/* blanket)

21 years agoAdd information about setting sysctl variables via loader(8) and
brueffer [Sat, 17 May 2003 01:01:03 +0000 (01:01 +0000)]
Add information about setting sysctl variables via loader(8) and
loader.conf(5)

PR: 38426 (slightly modified)
Submitted by: Phil Pennock <pdp@nl.demon.net>
Approved by: re (bmah)
MFC after: 3 days

21 years agoFix a bug in the AMD64 trampoline. I misunderstood the implicit
peter [Sat, 17 May 2003 00:30:51 +0000 (00:30 +0000)]
Fix a bug in the AMD64 trampoline.  I misunderstood the implicit
32->64 bit zero extend.  This changes a movl to an orq.

Approved by: re (amd64 bits)

21 years agomdoc(7) police: Properly markup the previous revision.
ru [Fri, 16 May 2003 21:36:10 +0000 (21:36 +0000)]
mdoc(7) police: Properly markup the previous revision.

Approved by: re (blanket)

21 years agomdoc(7) police: Normalize the FILES section.
ru [Fri, 16 May 2003 21:34:21 +0000 (21:34 +0000)]
mdoc(7) police: Normalize the FILES section.

Approved by: re (blanket)

21 years agomdoc(7) police: Make SYNOPSIS match usage().
ru [Fri, 16 May 2003 21:27:23 +0000 (21:27 +0000)]
mdoc(7) police: Make SYNOPSIS match usage().

Approved by: re (blanket)

21 years agoRevamp of the syscall path, exception and context handling. The
marcel [Fri, 16 May 2003 21:26:42 +0000 (21:26 +0000)]
Revamp of the syscall path, exception and context handling. The
prime objectives are:
o  Implement a syscall path based on the epc inststruction (see
   sys/ia64/ia64/syscall.s).
o  Revisit the places were we need to save and restore registers
   and define those contexts in terms of the register sets (see
   sys/ia64/include/_regset.h).

Secundairy objectives:
o  Remove the requirement to use contigmalloc for kernel stacks.
o  Better handling of the high FP registers for SMP systems.
o  Switch to the new cpu_switch() and cpu_throw() semantics.
o  Add a good unwinder to reconstruct contexts for the rare
   cases we need to (see sys/contrib/ia64/libuwx)

Many files are affected by this change. Functionally it boils
down to:
o  The EPC syscall doesn't preserve registers it does not need
   to preserve and places the arguments differently on the stack.
   This affects libc and truss.
o  The address of the kernel page directory (kptdir) had to
   be unstaticized for use by the nested TLB fault handler.
   The name has been changed to ia64_kptdir to avoid conflicts.
   The renaming affects libkvm.
o  The trapframe only contains the special registers and the
   scratch registers. For syscalls using the EPC syscall path
   no scratch registers are saved. This affects all places where
   the trapframe is accessed. Most notably the unaligned access
   handler, the signal delivery code and the debugger.
o  Context switching only partly saves the special registers
   and the preserved registers. This affects cpu_switch() and
   triggered the move to the new semantics, which additionally
   affects cpu_throw().
o  The high FP registers are either in the PCB or on some
   CPU. context switching for them is done lazily. This affects
   trap().
o  The mcontext has room for all registers, but not all of them
   have to be defined in all cases. This mostly affects signal
   delivery code now. The *context syscalls are as of yet still
   unimplemented.

Many details went into the removal of the requirement to use
contigmalloc for kernel stacks. The details are mostly CPU
specific and limited to exception_save() and exception_restore().
The few places where we create, destroy or switch stacks were
mostly simplified by not having to construct physical addresses
and additionally saving the virtual addresses for later use.

Besides more efficient context saving and restoring, which of
course yields a noticable speedup, this also fixes the dreaded
SMP bootup problem as a side-effect. The details of which are
still not fully understood.

This change includes all the necessary backward compatibility
code to have it handle older userland binaries that use the
break instruction for syscalls. Support for break-based syscalls
has been pessimized in favor of a clean implementation. Due to
the overall better performance of the kernel, this will still
be notived as an improvement if it's noticed at all.

Approved by: re@ (jhb)

21 years agomdoc(7) police: Added "rot13" to the NAME section.
ru [Fri, 16 May 2003 21:26:39 +0000 (21:26 +0000)]
mdoc(7) police: Added "rot13" to the NAME section.

Approved by: re (blanket)

21 years agomdoc(7) police: A better version of the same.
ru [Fri, 16 May 2003 21:19:32 +0000 (21:19 +0000)]
mdoc(7) police: A better version of the same.

Approved by: re (blanket)

21 years agomdoc(7) police: Fix document date.
ru [Fri, 16 May 2003 21:18:01 +0000 (21:18 +0000)]
mdoc(7) police: Fix document date.

Approved by: re (blanket)

21 years agoAdd a method of yielding the current thread with the scheduler
deischen [Fri, 16 May 2003 19:58:30 +0000 (19:58 +0000)]
Add a method of yielding the current thread with the scheduler
lock held (_thr_sched_switch_unlocked()) and use this to avoid
dropping the scheduler lock and having the scheduler retake the
same lock again.

Add a better way of detecting if a low-level lock is in use.

When switching out a thread due to blocking in the UTS, don't
switch to the KSE's scheduler stack only to switch back to
another thread.  If possible switch to the new thread directly
from the old thread and avoid the overhead of the extra
context switch.

Check for pending signals on a thread when entering the scheduler
and add them to the threads signal frame.  This includes some
other minor signal fixes.

Most of this was a joint effor between davidxu and myself.

Reviewed by: davidxu
Approved by: re@ (blanket for libpthread)

21 years agoRemove an extraneous `.El' that was reported by `groff -z`.
hmp [Fri, 16 May 2003 19:57:38 +0000 (19:57 +0000)]
Remove an extraneous `.El' that was reported by `groff -z`.

Approved by: des (mentor), re (scottl)

21 years agoRemove an extraneous space, reported by `groff -z`.
hmp [Fri, 16 May 2003 19:55:52 +0000 (19:55 +0000)]
Remove an extraneous space, reported by `groff -z`.

Approved by: des (mentor), re (scottl)

21 years agoRemove a bogus NOTES section. Move that content elsewhere.
hmp [Fri, 16 May 2003 19:54:20 +0000 (19:54 +0000)]
Remove a bogus NOTES section.  Move that content elsewhere.

Approved by: des (mentor), re (scottl)

21 years agoDetect that a vnode has been reclaimed while vflush() was waiting to lock
truckman [Fri, 16 May 2003 19:46:51 +0000 (19:46 +0000)]
Detect that a vnode has been reclaimed while vflush() was waiting to lock
the vnode and restart the loop.  Vflush() is vulnerable since it does not
hold a reference to the vnode and it holds no other locks while waiting
for the vnode lock.  The vnode will no longer be on the list when the
loop is restarted.

Approved by: re (rwatson)

21 years agoDocument the ``resource management'' routines in rman(9).
hmp [Fri, 16 May 2003 19:22:27 +0000 (19:22 +0000)]
Document the ``resource management'' routines in rman(9).

Submitted by: Bruce M. Simpson <bms@spc.org>
Reviewed by: mdodd

Approved by: des (mentor), re (scottl)

21 years ago- Use better terminology when describing mutex operations in msleep(9)'s
jhb [Fri, 16 May 2003 15:52:32 +0000 (15:52 +0000)]
- Use better terminology when describing mutex operations in msleep(9)'s
  description.
- Remove some bogus commas.
- Use the past tense when referring to the removal of the sleep() function
  since it happened quite a while ago and since the previous sentence in the
  paragraph already uses the past tense.

Approved by: re (rwatson)

21 years agoAdd a manual page for the CTASSERT(9) macro.
hmp [Fri, 16 May 2003 15:24:07 +0000 (15:24 +0000)]
Add a manual page for the CTASSERT(9) macro.

Approved by: des (mentor), re (scottl)

21 years agoDocument the VFCF_* flags.
hmp [Fri, 16 May 2003 15:21:20 +0000 (15:21 +0000)]
Document the VFCF_* flags.

Approved by: des (mentor), re (scottl)

21 years agoMore configuration tweaks. Rename %CONFIGS to %SETUPS to make the code
des [Fri, 16 May 2003 14:01:02 +0000 (14:01 +0000)]
More configuration tweaks.  Rename %CONFIGS to %SETUPS to make the code
clearer (particularly to someone who has read the man page).  Don't print
anything on stderr.

21 years agoRevision 1.49 broke snapshot building on older systems.
ru [Fri, 16 May 2003 13:59:12 +0000 (13:59 +0000)]
Revision 1.49 broke snapshot building on older systems.

Approved by: re (scottl)

21 years agoDocument the fact that tinderbox(1) accepts environment variables on the
des [Fri, 16 May 2003 13:58:20 +0000 (13:58 +0000)]
Document the fact that tinderbox(1) accepts environment variables on the
command line.  Also sort the xrefs correctly.

21 years agoMore oats for the beggars' horses.
des [Fri, 16 May 2003 12:11:13 +0000 (12:11 +0000)]
More oats for the beggars' horses.

21 years agoBe careful what you wish for - you might get it!
des [Fri, 16 May 2003 10:59:40 +0000 (10:59 +0000)]
Be careful what you wish for - you might get it!

Wished for by: ru

21 years agoAdd a 'patch' command rather than apply the patch unconditionally.
des [Fri, 16 May 2003 10:58:35 +0000 (10:58 +0000)]
Add a 'patch' command rather than apply the patch unconditionally.
Don't try to clean the release chroot, leave that to the release Makefile.

21 years agoDon't be so sensitive; /\bStop\b/ can occur in normal output and trick
des [Fri, 16 May 2003 10:55:49 +0000 (10:55 +0000)]
Don't be so sensitive; /\bStop\b/ can occur in normal output and trick
tbmaster into thinking the build failed.  Look for /^Stop in / instead.

21 years agoo In pmap_install, don't prevent switching the pmap if we're
marcel [Fri, 16 May 2003 07:57:44 +0000 (07:57 +0000)]
o  In pmap_install, don't prevent switching the pmap if we're
   switching to kernel_pmap. The pmap is not special enough.
o  Clear the active bit on the pmap we're switching out.
o  Fix some nearby style(9) bugs.

Approved by: re@

21 years agoOverhaul the reporting code, making sender, recipient and subject fully
des [Fri, 16 May 2003 07:54:47 +0000 (07:54 +0000)]
Overhaul the reporting code, making sender, recipient and subject fully
configurable.

Add support for tinderbox.pl's --patch.

-STABLE releases won't build with NOPERL (kernel builds use Perl).

21 years agoAdd support for local patches (which are also passed on to make release)
des [Fri, 16 May 2003 07:52:38 +0000 (07:52 +0000)]
Add support for local patches (which are also passed on to make release)

--verbose was a little too verbose, especially while cleaning the sandbox.

21 years agoUse vm_object_deallocate(), not vm_pager_deallocate(), to destroy a
alc [Fri, 16 May 2003 07:28:27 +0000 (07:28 +0000)]
Use vm_object_deallocate(), not vm_pager_deallocate(), to destroy a
vm object.  (vm_pager_deallocate() does not, in fact, destroy a vm object.)

Approved by: re (scottl)
Reviewed by: phk

21 years agoIndent a comment. This makes 1.100.
marcel [Fri, 16 May 2003 07:05:08 +0000 (07:05 +0000)]
Indent a comment. This makes 1.100.

Still approved by: re@ (blanket)

21 years agoTurn pmap_growkernel() into a critical section. While here, initialize
marcel [Fri, 16 May 2003 07:03:15 +0000 (07:03 +0000)]
Turn pmap_growkernel() into a critical section. While here, initialize
kernel_vm_end in pmap_bootstrap. Don't delay the initialization until
we need to grow the kernel VM space. This BTW happens twice before
we enter either single- or multi-user mode. Don't adjust kernel_vm_end
while growing based on whether the KPT contains a non-NULL entry. We
trust kernel_vm_end to be correct and we make sure it's still correct
after growing.
Define virtual_avail and virtual_end in terms of VM_MIN_KERNEL_ADDRESS
and VM_MAX_KERNEL_ADDRESS (resp). Don't hardcode region knowledge.

21 years agoRevamp the RID allocation code:
marcel [Fri, 16 May 2003 06:40:40 +0000 (06:40 +0000)]
Revamp the RID allocation code:
o  Limit the size of the region ID map to 64KB. This gives a bitmap
   that is large enough to keep track of 2^19 numbers. The minimal map
   size is 32KB. The reason we limit the map size is that processor
   models may have implemented a 24-bit region ID, which would give
   a 2MB bitmap while the maximum number of allocations is always
   less than PID_MAX*5, which is less than 2^19.
o  Allocate all region IDs up-front. The slight downside of reserving
   more RIDs then a process needs (3 for ia64 native and 1 for ia32)
   is preferable over the call to pmap_ensure_rid() where RIDs are
   allocated on demand. On SMP systems this may lead to a race
   condition.
o  When allocating a region ID, don't use arc4random(). We're not
   interested in randomness or uniform distribution across the
   spectrum. We only need uniqueness. Random numbers may easily
   collide when the number of allocated RIDs is high, creating a
   possibly unbounded retry rate.

21 years agoMove the conditional definition of KSTACK_MAX_PAGES up ahead where
marcel [Fri, 16 May 2003 06:17:34 +0000 (06:17 +0000)]
Move the conditional definition of KSTACK_MAX_PAGES up ahead where
it's more visible.

Approved by: re@ (blanket)

21 years agoSync the linker script with the one used by default for userland. Since
marcel [Fri, 16 May 2003 06:03:45 +0000 (06:03 +0000)]
Sync the linker script with the one used by default for userland. Since
ia64 only uses relocations with addend, remove the sections specific to
non-addend relocations (.rel.*). Also remove C++ specific sections.

Approved by: re@ (blanket)

21 years agoAdd variables for missing network drivers.
murray [Fri, 16 May 2003 04:31:00 +0000 (04:31 +0000)]
Add variables for missing network drivers.

PR: kern/51911
Submitted by: David Yeske <dyeske@yahoo.com>
Approved by: re

21 years agoAdd E-Tech ISA PnP modem ID.
murray [Fri, 16 May 2003 04:04:04 +0000 (04:04 +0000)]
Add E-Tech ISA PnP modem ID.

PR: kern/36692
Submitted by: Theo van Klaveren <t.vanklaveren@student.utwente.nl>
Approved by: re (murray)
MFC After: 3 days

21 years agoAdd French dvorak-like keymap for syscons.
murray [Fri, 16 May 2003 03:46:53 +0000 (03:46 +0000)]
Add French dvorak-like keymap for syscons.

PR: conf/50732
Submitted by: Frederic PRACA <frederic.praca@freebsd-fr.org>
Approved by: re

21 years agoFix the M and < keys on Belgian keyboards.
murray [Fri, 16 May 2003 03:37:52 +0000 (03:37 +0000)]
Fix the M and < keys on Belgian keyboards.

PR: conf/30341, i386/48398
Submitted by: Chris Pockele <chrisp@belgacom.net>
Approved by: re