]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoFix a typo.
Ruslan Ermilov [Fri, 15 Mar 2002 16:53:32 +0000 (16:53 +0000)]
Fix a typo.

22 years agomdoc(7) police:
Ruslan Ermilov [Fri, 15 Mar 2002 16:44:52 +0000 (16:44 +0000)]
mdoc(7) police:

Restore fixes from revision 1.20 that got lost in revision 1.21 merge.
Fixed some more.

22 years agomdoc(7) police: fix markup and uudecode(1) -o option description.
Ruslan Ermilov [Fri, 15 Mar 2002 16:03:29 +0000 (16:03 +0000)]
mdoc(7) police: fix markup and uudecode(1) -o option description.

22 years agoUpdate to the RAID1 rebuild code.
Søren Schmidt [Fri, 15 Mar 2002 15:39:54 +0000 (15:39 +0000)]
Update to the RAID1 rebuild code.

Run rebuild as a background process.

Sponsored by: Advanis

22 years agomdoc(7) police: kill hard sentence breaks.
Ruslan Ermilov [Fri, 15 Mar 2002 15:31:54 +0000 (15:31 +0000)]
mdoc(7) police: kill hard sentence breaks.

22 years agomdoc(7) police: pedantry.
Ruslan Ermilov [Fri, 15 Mar 2002 15:28:12 +0000 (15:28 +0000)]
mdoc(7) police: pedantry.

22 years agomdoc(7) police: markup fixes.
Ruslan Ermilov [Fri, 15 Mar 2002 15:26:57 +0000 (15:26 +0000)]
mdoc(7) police: markup fixes.

22 years agomdoc(7) police: fix a typo and markup.
Ruslan Ermilov [Fri, 15 Mar 2002 15:12:10 +0000 (15:12 +0000)]
mdoc(7) police: fix a typo and markup.

22 years agomdoc(7) police: tiny fixes.
Ruslan Ermilov [Fri, 15 Mar 2002 15:07:39 +0000 (15:07 +0000)]
mdoc(7) police: tiny fixes.

22 years agomdoc(7) police: GC duplicate VCS ID.
Ruslan Ermilov [Fri, 15 Mar 2002 15:02:13 +0000 (15:02 +0000)]
mdoc(7) police: GC duplicate VCS ID.

22 years agomdoc(7) police: misc fixes.
Ruslan Ermilov [Fri, 15 Mar 2002 14:56:53 +0000 (14:56 +0000)]
mdoc(7) police: misc fixes.

22 years agomdoc(7) police: kill whitespace at eol.
Ruslan Ermilov [Fri, 15 Mar 2002 14:45:45 +0000 (14:45 +0000)]
mdoc(7) police: kill whitespace at eol.

22 years agomdoc(7) police: tiny fixes.
Ruslan Ermilov [Fri, 15 Mar 2002 14:34:10 +0000 (14:34 +0000)]
mdoc(7) police: tiny fixes.

22 years agomdoc(7) police: tiny fixes.
Ruslan Ermilov [Fri, 15 Mar 2002 14:28:05 +0000 (14:28 +0000)]
mdoc(7) police: tiny fixes.

22 years agomdoc(7) police: use precise width specifier.
Ruslan Ermilov [Fri, 15 Mar 2002 14:21:13 +0000 (14:21 +0000)]
mdoc(7) police: use precise width specifier.

22 years agoMFbed: Use German Release Entities for all articles
Udo Erdelhoff [Fri, 15 Mar 2002 13:51:23 +0000 (13:51 +0000)]
MFbed: Use German Release Entities for all articles

22 years agoMFen 1.299
Udo Erdelhoff [Fri, 15 Mar 2002 13:48:48 +0000 (13:48 +0000)]
MFen 1.299

22 years agoMFen 1.2, use DE release entities
Udo Erdelhoff [Fri, 15 Mar 2002 13:47:12 +0000 (13:47 +0000)]
MFen 1.2, use DE release entities

22 years agoMFen 1.37
Udo Erdelhoff [Fri, 15 Mar 2002 13:30:44 +0000 (13:30 +0000)]
MFen 1.37

22 years agoPedantry to satisfy the bin/34159 author.
Ruslan Ermilov [Fri, 15 Mar 2002 12:24:44 +0000 (12:24 +0000)]
Pedantry to satisfy the bin/34159 author.

22 years agomdoc(7) police: Kill the (now extraneous) empty line. Previously,
Ruslan Ermilov [Fri, 15 Mar 2002 12:04:49 +0000 (12:04 +0000)]
mdoc(7) police:  Kill the (now extraneous) empty line.  Previously,
.Bd erroneously defaulted to -compact mode in the SYNOPSIS section.

22 years agoEmbed boot images built as part of buildworld rather than the
Ruslan Ermilov [Fri, 15 Mar 2002 11:27:47 +0000 (11:27 +0000)]
Embed boot images built as part of buildworld rather than the
installed ones under /boot (which we may not even have in the
case of a cross build).

This introduced chicken and egg problem - we need boot images
early in the "depend" stage but they have not yet been built.
Work around this by excluding the generated makeboot.c source
from the "depend" list; it's okay because we hardcode all its
dependencies explicitly.  We actually lose the dependency bit
on <sys/types.h> but it's probably okay too as the only thing
we use is the u_char datatype and this is unlikely to change.
After all, it's normal for sloppy cleaning to cause problems.

beast.FreeBSD.org running 5.0-CURRENT alpha has been able to
cross build i386 world with this patch.

Prodded by: gallatin

22 years agoDon't use temporary file to generate makedevs.c -- it's okay
Ruslan Ermilov [Fri, 15 Mar 2002 11:21:57 +0000 (11:21 +0000)]
Don't use temporary file to generate makedevs.c -- it's okay
to write to makedevs.c directly as it's not protected by the
.PRECIOUS attribute.

22 years ago* Stop other cpus when one cpu enters DDB and restart them after it
Doug Rabson [Fri, 15 Mar 2002 11:12:08 +0000 (11:12 +0000)]
* Stop other cpus when one cpu enters DDB and restart them after it
  leaves.
* Add a sync.i instruction to the code which writes out breakpoints to
  ensure that the breakpoint is seem by all cpus in the coherence domain.

22 years agoRemove trailing characters from #endif.
David E. O'Brien [Fri, 15 Mar 2002 09:58:45 +0000 (09:58 +0000)]
Remove trailing characters from #endif.
Actually this #endif is not needed, so remove leading characters also.

22 years ago* Remove a breakpoint() I accidentally left in for debugging :-(.
Doug Rabson [Fri, 15 Mar 2002 09:47:16 +0000 (09:47 +0000)]
* Remove a breakpoint() I accidentally left in for debugging :-(.
* Make cpu_mp_probe() work before the VM system is available and
  initialise mp_maxid accordingly.

22 years agoEven more markup / whitespace fixes:
Murray Stokely [Fri, 15 Mar 2002 09:23:21 +0000 (09:23 +0000)]
Even more markup / whitespace fixes:
* Use .Va instead of .Ev
* Remove a trailing whitespace at EOL.
* Quote some arguments.

Submitted by: ru

22 years agoMFen.
Jun Kuriyama [Fri, 15 Mar 2002 09:05:25 +0000 (09:05 +0000)]
MFen.

22 years agoBunch of manpage fixes from Bruce Montague.
Luigi Rizzo [Fri, 15 Mar 2002 09:02:26 +0000 (09:02 +0000)]
Bunch of manpage fixes from Bruce Montague.

22 years agoMFen (SA-02:13 is not yet translated).
Jun Kuriyama [Fri, 15 Mar 2002 08:56:30 +0000 (08:56 +0000)]
MFen (SA-02:13 is not yet translated).

22 years agoBatch of fixes to the configuration files from Bruce Montague
Luigi Rizzo [Fri, 15 Mar 2002 08:46:18 +0000 (08:46 +0000)]
Batch of fixes to the configuration files from Bruce Montague

22 years agoRemove all the custom toolchain knob tweaking.
David E. O'Brien [Fri, 15 Mar 2002 08:21:41 +0000 (08:21 +0000)]
Remove all the custom toolchain knob tweaking.
We are now using a native binutils, and you have to have CC=gcc in your
/etc/make.conf to compile userland anyway.

22 years agoGiant pushdown for read/write/pread/pwrite syscalls.
Alfred Perlstein [Fri, 15 Mar 2002 08:03:46 +0000 (08:03 +0000)]
Giant pushdown for read/write/pread/pwrite syscalls.

kern/kern_descrip.c:
Aquire Giant in fdrop_locked when file refcount hits zero, this removes
the requirement for the caller to own Giant for the most part.

kern/kern_ktrace.c:
Aquire Giant in ktrgenio, simplifies locking in upper read/write syscalls.

kern/vfs_bio.c:
Aquire Giant in bwillwrite if needed.

kern/sys_generic.c
Giant pushdown, remove Giant for:
   read, pread, write and pwrite.
readv and writev aren't done yet because of the possible malloc calls
for iov to uio processing.

kern/sys_socket.c
Grab giant in the socket fo_read/write functions.

kern/vfs_vnops.c
Grab giant in the vnode fo_read/write functions.

22 years agoMinor style nit.
David E. O'Brien [Fri, 15 Mar 2002 07:45:42 +0000 (07:45 +0000)]
Minor style nit.

22 years agoUpdate for binutils_2_12_anoncvs_20020221.
David E. O'Brien [Fri, 15 Mar 2002 07:45:18 +0000 (07:45 +0000)]
Update for binutils_2_12_anoncvs_20020221.

22 years agoUggg!! LD ME HARDER!!
David E. O'Brien [Fri, 15 Mar 2002 07:42:47 +0000 (07:42 +0000)]
Uggg!!  LD ME HARDER!!
Rev 1.2 changed the default emulation from ``elf64_sparc'' to ``elf32_sparc''
and I never noticed it after my review of rev 1.1.  Backing the change of
the default emulation out, and Wa-la!, I can now build a native [and usable]
binutils.  WTF, the "-m elf64_sparc" parameter handed to `ld' by `gcc'
wasn't DTRT is beyond me.

22 years agoBug fixes:
Alfred Perlstein [Fri, 15 Mar 2002 07:18:09 +0000 (07:18 +0000)]
Bug fixes:

Missed a place where the pipe sleep lock was needed in order to safely grab
Giant, fix it and add an assertion to make sure this doesn't happen again.

Fix typos in the PIPE_GET_GIANT/PIPE_DROP_GIANT that could cause the
wrong mutex to get passed to PIPE_LOCK/PIPE_UNLOCK.

Fix a location where the wrong pipe was being passed to
PIPE_GET_GIANT/PIPE_DROP_GIANT.

22 years agoAdd comments to ME README.BOOTP README.TEMPLATING mentioning that
Luigi Rizzo [Fri, 15 Mar 2002 06:47:38 +0000 (06:47 +0000)]
Add comments to ME README.BOOTP README.TEMPLATING mentioning that
they contain stale information.
Remove files referring to the old diskless setup to avoid confusion.

22 years agoRevert most of the recent PCI merge. This has proven to be too
Warner Losh [Fri, 15 Mar 2002 06:41:01 +0000 (06:41 +0000)]
Revert most of the recent PCI merge.  This has proven to be too
unstable for the coming DP1 release.  Instead, I'll develop that on
the IMP_CB_MERGE branch until it is more stable.

22 years agoQuiet a warning on the Alpha.
David E. O'Brien [Fri, 15 Mar 2002 04:06:10 +0000 (04:06 +0000)]
Quiet a warning on the Alpha.

22 years agoFix bugs where the ng_ppp node could transmit PPP frames whose length
Archie Cobbs [Fri, 15 Mar 2002 02:31:14 +0000 (02:31 +0000)]
Fix bugs where the ng_ppp node could transmit PPP frames whose length
exceeded the peer's configured MRU or MRRU.

MFC after: 1 week

22 years agoNAI DBA update.
Dag-Erling Smørgrav [Thu, 14 Mar 2002 23:27:59 +0000 (23:27 +0000)]
NAI DBA update.

22 years agoNAI DBA update.
Robert Watson [Thu, 14 Mar 2002 21:58:58 +0000 (21:58 +0000)]
NAI DBA update.

22 years agoWhitespace only change to reduce diffs to RELENG_4 version of this
Bruce A. Mah [Thu, 14 Mar 2002 21:52:01 +0000 (21:52 +0000)]
Whitespace only change to reduce diffs to RELENG_4 version of this
file.

22 years agoNAI DBA update.
Robert Watson [Thu, 14 Mar 2002 21:51:00 +0000 (21:51 +0000)]
NAI DBA update.

22 years agoUnbreak the probing of some CDROM drives.
Søren Schmidt [Thu, 14 Mar 2002 21:35:55 +0000 (21:35 +0000)]
Unbreak the probing of some CDROM drives.

22 years agoOnly allow super user to perform the Linux compatible ioctls since some
Doug Ambrisko [Thu, 14 Mar 2002 20:56:41 +0000 (20:56 +0000)]
Only allow super user to perform the Linux compatible ioctls since some
of the things they do, shouldn't be done by normal users.

MFC after: 2 days

22 years agoThis commit was generated by cvs2svn to compensate for changes in r92289,
Dag-Erling Smørgrav [Thu, 14 Mar 2002 20:42:07 +0000 (20:42 +0000)]
This commit was generated by cvs2svn to compensate for changes in r92289,
which included commits to RCS files with non-trunk default branches.

22 years agoVendor import of OpenPAM Centaury.
Dag-Erling Smørgrav [Thu, 14 Mar 2002 20:42:07 +0000 (20:42 +0000)]
Vendor import of OpenPAM Centaury.

22 years agoNAI DBA update.
Robert Watson [Thu, 14 Mar 2002 20:08:51 +0000 (20:08 +0000)]
NAI DBA update.

22 years agoTweak the AP startup code somewhat. With all the other recent changes,
Doug Rabson [Thu, 14 Mar 2002 19:37:36 +0000 (19:37 +0000)]
Tweak the AP startup code somewhat. With all the other recent changes,
this now works pretty well for two processors at least.

Submitted by: marcel, mostly.

22 years ago* Initialise pcb_pmap for new threads.
Doug Rabson [Thu, 14 Mar 2002 19:34:50 +0000 (19:34 +0000)]
* Initialise pcb_pmap for new threads.
* Add support for forking new threads from &thread0 as well as curthread.

22 years ago* Save and restore PCPU_GET(current_pmap) in pcb_pmap so that we don't
Doug Rabson [Thu, 14 Mar 2002 19:33:03 +0000 (19:33 +0000)]
* Save and restore PCPU_GET(current_pmap) in pcb_pmap so that we don't
  lose if a process is preempted while pmap is temporarily switched to
  another pmap.
* For SMP, drop the high-fp state when a thread is switched away from
  so that if another cpu resumes that thread, it doesn't have to play
  games with IPI to get ahold of the correct register values.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r92282,
David E. O'Brien [Thu, 14 Mar 2002 19:25:32 +0000 (19:25 +0000)]
This commit was generated by cvs2svn to compensate for changes in r92282,
which included commits to RCS files with non-trunk default branches.

22 years agoImport of LukeM's ftpd version 1.2 Beta 1.
David E. O'Brien [Thu, 14 Mar 2002 19:25:32 +0000 (19:25 +0000)]
Import of LukeM's ftpd version 1.2 Beta 1.

22 years agoAdd pcpu.pc_current_pmap and pcb.pcb_pmap.
Doug Rabson [Thu, 14 Mar 2002 19:20:24 +0000 (19:20 +0000)]
Add pcpu.pc_current_pmap and pcb.pcb_pmap.

22 years agoAdd a field to hold the current pmap of a thread.
Doug Rabson [Thu, 14 Mar 2002 19:19:49 +0000 (19:19 +0000)]
Add a field to hold the current pmap of a thread.

22 years agoGrammar bogon: s/structure a route/structure of a route/
Jens Schweikhardt [Thu, 14 Mar 2002 18:43:09 +0000 (18:43 +0000)]
Grammar bogon: s/structure a route/structure of a route/

MFC after: 3 days

22 years agoTypo; s/lister/listener/
Jens Schweikhardt [Thu, 14 Mar 2002 18:34:46 +0000 (18:34 +0000)]
Typo; s/lister/listener/

MFC after: 3 days

22 years agoFreeBSD/sparc64 installation documentation, German version
Udo Erdelhoff [Thu, 14 Mar 2002 18:32:27 +0000 (18:32 +0000)]
FreeBSD/sparc64 installation documentation, German version

22 years agoNAI DBA update
Robert Watson [Thu, 14 Mar 2002 16:53:39 +0000 (16:53 +0000)]
NAI DBA update

22 years agoRemove the use of random(3), and encapsulate the salt-generation in
Mark Murray [Thu, 14 Mar 2002 16:41:36 +0000 (16:41 +0000)]
Remove the use of random(3), and encapsulate the salt-generation in
its own function. The use of arc4random(3) is hopeless overkill here,
but that does not hurt anything.

Requested by: ache

22 years agoTeach REST how to restart a file transfer after 2^31 bytes: now yylex()
Maxim Konovalov [Thu, 14 Mar 2002 16:05:06 +0000 (16:05 +0000)]
Teach REST how to restart a file transfer after 2^31 bytes: now yylex()
returns off_t in yylval.u.o. REST is the only user of yylval.u.o at the
moment.

NB: seems lukemftpd has the same bug.

PR: misc/28629
Reviewed by: ru
Approved by: ru
MFC after: 1 month

22 years agoAdd ia64_sync_i(), ia64_get_tpr() and ia64_set_tpr().
Doug Rabson [Thu, 14 Mar 2002 12:29:55 +0000 (12:29 +0000)]
Add ia64_sync_i(), ia64_get_tpr() and ia64_set_tpr().

22 years agoBe consistent with UFS in a way how devfs_setattr() checks credentials
Maxim Konovalov [Thu, 14 Mar 2002 11:18:42 +0000 (11:18 +0000)]
Be consistent with UFS in a way how devfs_setattr() checks credentials
for chmod(2), chown(2) and utimes(2) with respect to jail(2).

Reviewed by: rwatson, ru
Not objected by: phk
Approved by: ru

22 years agoClarify fcntl(2) and flock(2) interoperability.
Maxim Konovalov [Thu, 14 Mar 2002 11:02:35 +0000 (11:02 +0000)]
Clarify fcntl(2) and flock(2) interoperability.

PR: docs/23353
Reviewed by: ru, dillon
Approved by: ru
MFC after: 3 days

22 years ago* Add some KTR messages for IPIs.
Doug Rabson [Thu, 14 Mar 2002 10:24:00 +0000 (10:24 +0000)]
* Add some KTR messages for IPIs.
* Don't call ast() from interrupt() - if we switch, then we will miss
  writing cr.eoi which will prevent the current cpu from receiving
  interrupts until the current thread is resumed. The call to ast()
  happens magically in exception_restore where it is safe.
* Add DDB 'show irq' command to examine interrupt hardware state.

22 years agoAdd debug code to print SAPIC registers.
Doug Rabson [Thu, 14 Mar 2002 10:17:08 +0000 (10:17 +0000)]
Add debug code to print SAPIC registers.

22 years agominor grammar fixes
Bill Fumerola [Thu, 14 Mar 2002 10:09:19 +0000 (10:09 +0000)]
minor grammar fixes

22 years agoAdd an ENVIRONMENT section, and document TARGET_ARCH and NO_WERROR.
Murray Stokely [Thu, 14 Mar 2002 09:38:24 +0000 (09:38 +0000)]
Add an ENVIRONMENT section, and document TARGET_ARCH and NO_WERROR.
Add a cross-build example.

22 years ago* Use a mutex to protect the RID allocator.
Doug Rabson [Thu, 14 Mar 2002 09:28:05 +0000 (09:28 +0000)]
* Use a mutex to protect the RID allocator.
* Use ptc.g instead of ptc.l so that TLB shootdowns are broadcast to the
  coherence domain.
* Use smp_rendezvous for pmap_invalidate_all to ensure it happens on all
  cpus.
* Dike out a DIAGNOSTIC printf which didn't compile.
* Protect the internals of pmap_install with cpu_critical_enter/exit.

22 years agoMove the call to pmap_bootstrap to after the initialisation of thread0.
Doug Rabson [Thu, 14 Mar 2002 09:20:07 +0000 (09:20 +0000)]
Move the call to pmap_bootstrap to after the initialisation of thread0.
This allows us to use mutexes in pmap safely. Also initialise fpcurthread
for cpu0 so that ia64_fpstate_check doesn't barf during boot.

22 years agoMissed this file for select SMP fixes associated with rev 1.93 of
Alfred Perlstein [Thu, 14 Mar 2002 05:16:18 +0000 (05:16 +0000)]
Missed this file for select SMP fixes associated with rev 1.93 of
kern/sys_generic.c

22 years agoMissed this file for select SMP fixes associated with rev 1.93 of
Alfred Perlstein [Thu, 14 Mar 2002 04:47:08 +0000 (04:47 +0000)]
Missed this file for select SMP fixes associated with rev 1.93 of
kern/sys_generic.c

22 years agoVarious mdoc fixes.
Murray Stokely [Thu, 14 Mar 2002 04:21:50 +0000 (04:21 +0000)]
Various mdoc fixes.

Submitted by: ru

22 years agoTune WARNS for Alpha.
David E. O'Brien [Thu, 14 Mar 2002 02:24:25 +0000 (02:24 +0000)]
Tune WARNS for Alpha.

22 years agoDocument faultstate.lookup_still_valid more than none.
Brian Feldman [Thu, 14 Mar 2002 02:10:14 +0000 (02:10 +0000)]
Document faultstate.lookup_still_valid more than none.

Requested by: alfred

22 years agoActivate the sparc64 installation document.
Bruce A. Mah [Thu, 14 Mar 2002 01:47:56 +0000 (01:47 +0000)]
Activate the sparc64 installation document.

22 years agoWhitespace, no content or markup changes.
Bruce A. Mah [Thu, 14 Mar 2002 01:40:47 +0000 (01:40 +0000)]
Whitespace, no content or markup changes.

22 years agos/Sparc/SPARC/
Bruce A. Mah [Thu, 14 Mar 2002 01:34:26 +0000 (01:34 +0000)]
s/Sparc/SPARC/

22 years agoFixes to make select/poll mpsafe.
Alfred Perlstein [Thu, 14 Mar 2002 01:32:30 +0000 (01:32 +0000)]
Fixes to make select/poll mpsafe.

Problem:
  selwakeup required calling pfind which would cause lock order
  reversals with the allproc_lock and the per-process filedesc lock.
Solution:
  Instead of recording the pid of the select()'ing process into the
  selinfo structure, actually record a pointer to the thread.  To
  avoid dereferencing a bad address all the selinfo structures that
  are in use by a thread are kept in a list hung off the thread
  (protected by sellock).  When a selwakeup occurs the selinfo is
  removed from that threads list, it is also removed on the way out
  of select or poll where the thread will traverse its list removing
  all the selinfos from its own list.

Problem:
  Previously the PROC_LOCK was used to provide the mutual exclusion
  needed to ensure proper locking, this couldn't work because there
  was a single condvar used for select and poll and condvars can
  only be used with a single mutex.
Solution:
  Introduce a global mutex 'sellock' which is used to provide mutual
  exclusion when recording events to wait on as well as performing
  notification when an event occurs.

Interesting note:
  schedlock is required to manipulate the per-thread TDF_SELECT
  flag, however if given its own field it would not need schedlock,
  also because TDF_SELECT is only manipulated under sellock one
  doesn't actually use schedlock for syncronization, only to protect
  against corruption.

Proc locks are no longer used in select/poll.

Portions contributed by: davidc

22 years agoAdd a warning that URLs in this document are subject to change (in
Bruce A. Mah [Thu, 14 Mar 2002 01:29:31 +0000 (01:29 +0000)]
Add a warning that URLs in this document are subject to change (in
fact, they're incorrect right now).  Point readers to the list
archives for current locations.

22 years agoThis corrects the first of two known deadlock conditions that
Kirk McKusick [Thu, 14 Mar 2002 01:21:13 +0000 (01:21 +0000)]
This corrects the first of two known deadlock conditions that
come from the presence of a snapshot file.

22 years agoDon't restore r13 when returning to kernel mode. We may have migrated to
Doug Rabson [Thu, 14 Mar 2002 00:28:10 +0000 (00:28 +0000)]
Don't restore r13 when returning to kernel mode. We may have migrated to
a different cpu since the exception_save and r13 needs to point at the
current cpu's pcpu structure.

22 years agoRename SI_SUB_MUTEX to SI_SUB_MTX_POOL to make the name at all accurate.
Brian Feldman [Wed, 13 Mar 2002 23:48:08 +0000 (23:48 +0000)]
Rename SI_SUB_MUTEX to SI_SUB_MTX_POOL to make the name at all accurate.
While doing this, move it earlier in the sysinit boot process so that the
VM system can use it.

After that, the system is now able to use sx locks instead of lockmgr
locks in the VM system.  To accomplish this, some of the more
questionable uses of the locks (such as testing whether they are
owned or not, as well as allowing shared+exclusive recursion) are
removed, and simpler logic throughout is used so locks should also be
easier to understand.

This has been tested on my laptop for months, and has not shown any
problems on SMP systems, either, so appears quite safe.  One more
user of lockmgr down, many more to go :)

22 years agoDBA update: pick the right DBA for various LOMAC copyrights.
Robert Watson [Wed, 13 Mar 2002 22:55:20 +0000 (22:55 +0000)]
DBA update: pick the right DBA for various LOMAC copyrights.

22 years agoRemove a bogus cast and deconstification that broke the Alpha kernel build.
Dag-Erling Smørgrav [Wed, 13 Mar 2002 19:16:41 +0000 (19:16 +0000)]
Remove a bogus cast and deconstification that broke the Alpha kernel build.

22 years agoBack out previous commit, it was the wrong patch!
Dag-Erling Smørgrav [Wed, 13 Mar 2002 19:13:41 +0000 (19:13 +0000)]
Back out previous commit, it was the wrong patch!

22 years agoRemove a bogus cast that breaks the Alpha kernel build due to -Werror.
Dag-Erling Smørgrav [Wed, 13 Mar 2002 19:12:31 +0000 (19:12 +0000)]
Remove a bogus cast that breaks the Alpha kernel build due to -Werror.

22 years agoClarify the cylinder > 1023 issue, now that EDD support is automatic.
Robert Nordier [Wed, 13 Mar 2002 19:00:19 +0000 (19:00 +0000)]
Clarify the cylinder > 1023 issue, now that EDD support is automatic.
Also drop a note about undocumented features that was intended to
cover the since-documented slice-selection syntax.

22 years agoFix syntax error.
Giorgos Keramidas [Wed, 13 Mar 2002 18:37:40 +0000 (18:37 +0000)]
Fix syntax error.

22 years agoSupport linking with -z combreloc (combine and sort reloc sections) and with
David E. O'Brien [Wed, 13 Mar 2002 18:26:59 +0000 (18:26 +0000)]
Support linking with -z combreloc (combine and sort reloc sections) and with
--shared -z combreloc (shared library, combine & sort relocs)

Submitted by: peter
Bribed by: peter
Fixes: IA-64, Kaffe, and QT
Doesn't fix ports by: kris
Tested on: make(1) release w/docproj
Desired for: 5.0-DP#1
Approved by: murray
Seconded by: jhb

22 years agoAdd 5th parameter to pci_read_device specifying the size of the object
Warner Losh [Wed, 13 Mar 2002 16:32:11 +0000 (16:32 +0000)]
Add 5th parameter to pci_read_device specifying the size of the object
to create.

22 years agoSGML fixes, part2: block elements like lists do not belong into inline
Udo Erdelhoff [Wed, 13 Mar 2002 15:29:51 +0000 (15:29 +0000)]
SGML fixes, part2: block elements like lists do not belong into inline
elements like paragraphs

This is a markup-only commit (just like the last one)

MFC after: 14 days

22 years agoDocument the "lomac_enable" rc.conf switch.
Robert Watson [Wed, 13 Mar 2002 15:28:37 +0000 (15:28 +0000)]
Document the "lomac_enable" rc.conf switch.

Reminded by: Makoto Matsushita <matusita@jp.FreeBSD.org>

22 years agoUse the dx register for the destination port address. A immediate port
Yoshihiro Takahashi [Wed, 13 Mar 2002 13:59:41 +0000 (13:59 +0000)]
Use the dx register for the destination port address. A immediate port
address of outb is only 8 bits.

Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
MFC after: 3 days

22 years agoMFi386: revision 1.502
Yoshihiro Takahashi [Wed, 13 Mar 2002 13:45:00 +0000 (13:45 +0000)]
MFi386: revision 1.502

22 years agoFix some of the worst sgml mistakes in this document:
Udo Erdelhoff [Wed, 13 Mar 2002 13:10:22 +0000 (13:10 +0000)]
Fix some of the worst sgml mistakes in this document:
- paragraphs are closed with </para>, not <para>
- for each opening tag, there should be a closing tag

Not fixed (yet): block elements inside inline elements
Noticed during translation, hunted down with suppe/slashexpand

22 years agoDocument the "slice" syntax.
Ruslan Ermilov [Wed, 13 Mar 2002 12:30:46 +0000 (12:30 +0000)]
Document the "slice" syntax.

Prodded by: ambrisko

22 years agoImplement -m and -p loader(8) "boot" command options in boot2.
Ruslan Ermilov [Wed, 13 Mar 2002 11:03:36 +0000 (11:03 +0000)]
Implement -m and -p loader(8) "boot" command options in boot2.
(This is more useful for 4.x where boot blocks can still load
kernels, modulo the PR kern/17422.)