]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoNit.
ru [Tue, 20 May 2003 22:08:28 +0000 (22:08 +0000)]
Nit.

21 years agoAdd missing markup bits.
ru [Tue, 20 May 2003 22:07:55 +0000 (22:07 +0000)]
Add missing markup bits.

21 years agoCompact the list.
ru [Tue, 20 May 2003 22:07:30 +0000 (22:07 +0000)]
Compact the list.

21 years agoRemoved hard sentence break.
ru [Tue, 20 May 2003 22:07:03 +0000 (22:07 +0000)]
Removed hard sentence break.

21 years agoUse the -tag list to document agp(4) ioctls.
ru [Tue, 20 May 2003 22:06:43 +0000 (22:06 +0000)]
Use the -tag list to document agp(4) ioctls.

21 years agoReapply mdoc(7) fixes that got accidentally lost in the last
ru [Tue, 20 May 2003 21:01:21 +0000 (21:01 +0000)]
Reapply mdoc(7) fixes that got accidentally lost in the last
Bluetooth update, and fix a few more issues.

Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com>, ru
Approved by: re (blanket)

21 years agoThe per-CPU spinlocks list is only maintained when WITNESS is enabled.
jhb [Tue, 20 May 2003 20:50:33 +0000 (20:50 +0000)]
The per-CPU spinlocks list is only maintained when WITNESS is enabled.
Thus, treat all page faults while in a critical section as fatal rather
than just those that occur with a non-empty spinlocks list.  All such page
faults are fatal anyways.  Calling trap_fatal() earlier increases the
chances of getting more useful panic messages and a possible DDB prompt.

Approved by: re (scottl)

21 years agoMove a misplaced comment.
mtm [Tue, 20 May 2003 18:48:41 +0000 (18:48 +0000)]
Move a misplaced comment.

Approved by: markm/mentor (implicit), re/blanket libthr

21 years agoRemove a redundant quirk. Instead, we wildcard all Asahi Optical chips.
njl [Tue, 20 May 2003 18:04:42 +0000 (18:04 +0000)]
Remove a redundant quirk.  Instead, we wildcard all Asahi Optical chips.

Approved by: re

21 years agoPrevious revision broke release building, unbreak it.
ru [Tue, 20 May 2003 07:07:48 +0000 (07:07 +0000)]
Previous revision broke release building, unbreak it.

Prodded by: scottl

21 years agoo Fix a definite bogon: the dirty bity fault, instruction access
marcel [Tue, 20 May 2003 06:57:20 +0000 (06:57 +0000)]
o  Fix a definite bogon: the dirty bity fault, instruction access
   failt and data access fault install the PTE in question into
   the VHPT table. However, a post-increment was missing and we
   wrote the raw PTE data into the pagesize/access key field.
   This leaves a corrupt VHPT entry.
o  While here, remove the explicit cache purge. Insertion into
   the translation implicitly purges any overlapping entries.
o  Make sure there's a cycle break between the itc and the rfi.
o  Whitespace fixes.

21 years agoRename the "IA64 ITC" counter to "ITC" counter. We don't call the
marcel [Tue, 20 May 2003 06:51:20 +0000 (06:51 +0000)]
Rename the "IA64 ITC" counter to "ITC" counter. We don't call the
"TSC" counter on i386 "I386 TSC".

Approved by: re@ (blanket)

21 years agoModified release note: kde-3.1.2.
bmah [Tue, 20 May 2003 04:03:29 +0000 (04:03 +0000)]
Modified release note:  kde-3.1.2.

Approved by: re (implicitly)

21 years agoPrevent corruption of the VHPT collision chain by protecting it with
marcel [Tue, 20 May 2003 02:52:41 +0000 (02:52 +0000)]
Prevent corruption of the VHPT collision chain by protecting it with
a mutex. The only volatile chain operations are insertion and deletion
but since updating an existing PTE also updates the VHPT entry itself,
and we have the VHPT mutex in both other cases, we also lock when we
update an existing PTE even though no chain operation is involved.
Note that we perform the insertion and deletion careful enough that
we don't need to lock traversals. If we need to lock traversals, we
also need to lock from the exception handler, which we can't without
creating a trapframe.

We're now able to withstand a -j8 buildworld. More work is needed to
withstand Murphy fields. In other words: we still have a bogon...

Approved by: re@ (blanket)

21 years agos/x86[-_]64/amd64/ for MACHINE_ARCH and MACHINE_CPU .ifdefs.
peter [Tue, 20 May 2003 01:46:16 +0000 (01:46 +0000)]
s/x86[-_]64/amd64/ for MACHINE_ARCH and MACHINE_CPU .ifdefs.

Noticed by:  ru
Approved by: re (amd64-specific low risk stuff)

21 years agoMove the isp driver back to the alpha BOOTMFS kernel, and trim the size
scottl [Tue, 20 May 2003 01:46:09 +0000 (01:46 +0000)]
Move the isp driver back to the alpha BOOTMFS kernel, and trim the size
of inodes for the alpha driver floppy.  With this patch, alpha actually
built a full release!

Submitted by: ru

21 years agoEek, staticize a couple of functions that shouldn't
deischen [Mon, 19 May 2003 23:04:50 +0000 (23:04 +0000)]
Eek, staticize a couple of functions that shouldn't
be external (initialize()!).

Remove cancellation points from _pthread_cond_wait and
_pthread_cond_timedwait (single underscore versions are
libc private functions).  Point the weak reference(!) for
these functions to the versions with cancellation points.

Approved by: re@(blanket till 5/19)
Pointed out by: kan (cancellation point bug)

21 years agoDeal with the possibility of negative available space from the file server
peter [Mon, 19 May 2003 22:35:00 +0000 (22:35 +0000)]
Deal with the possibility of negative available space from the file server
to avoid Bad Things(TM) happening (eg: df crashing with a floating point
exception).

Submitted by: Harold Gutch <logix@foobar.franken.de>
Approved by: re (scottl)

21 years agoAnother x86-64 comment fixup
peter [Mon, 19 May 2003 22:19:02 +0000 (22:19 +0000)]
Another x86-64 comment fixup

Approved by: re (blanket amd64 stuff)

21 years agos/x86_64/amd64/ in comments in header.
peter [Mon, 19 May 2003 22:15:30 +0000 (22:15 +0000)]
s/x86_64/amd64/ in comments in header.

Approved by: re (blanket amd64)

21 years agoAdd some whitespace and rewrap. Translators can ignore this.
bmah [Mon, 19 May 2003 22:15:17 +0000 (22:15 +0000)]
Add some whitespace and rewrap.  Translators can ignore this.

Approved by: re (implicitly)

21 years agoWording tweak: There is no separate ia64 SMP development branch.
bmah [Mon, 19 May 2003 22:14:19 +0000 (22:14 +0000)]
Wording tweak:  There is no separate ia64 SMP development branch.

Approved by: re (implicitly)

21 years agoA real ia64 processor section.
bmah [Mon, 19 May 2003 22:12:56 +0000 (22:12 +0000)]
A real ia64 processor section.

Submitted by: Jim Brown <jpb@sixshooter.v6.thrupoint.net>
Approved by: re (implicitly)

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)