]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoThis commit was generated by cvs2svn to compensate for changes in r137015,
des [Thu, 28 Oct 2004 16:03:53 +0000 (16:03 +0000)]
This commit was generated by cvs2svn to compensate for changes in r137015,
which included commits to RCS files with non-trunk default branches.

19 years agoVendor import of OpenSSH 3.9p1.
des [Thu, 28 Oct 2004 16:03:53 +0000 (16:03 +0000)]
Vendor import of OpenSSH 3.9p1.

19 years agoUse dcons buffer passed by loader on amd64.
simokawa [Thu, 28 Oct 2004 12:18:22 +0000 (12:18 +0000)]
Use dcons buffer passed by loader on amd64.

19 years agoMFi386: preserve dcons buffer passed by loader.
simokawa [Thu, 28 Oct 2004 12:16:03 +0000 (12:16 +0000)]
MFi386: preserve dcons buffer passed by loader.

19 years agofixed a bug that incorrect IPsec request level may be returned for proto AH
suz [Thu, 28 Oct 2004 09:24:45 +0000 (09:24 +0000)]
fixed a bug that incorrect IPsec request level may be returned for proto AH

Obtained from: KAME

19 years agoLock bp->b_bufobj->b_object instead of bp->b_object
phk [Thu, 28 Oct 2004 08:38:46 +0000 (08:38 +0000)]
Lock bp->b_bufobj->b_object instead of bp->b_object

19 years agoAdd -I, an option that asks for confirmation once if recursively
delphij [Thu, 28 Oct 2004 08:25:30 +0000 (08:25 +0000)]
Add -I, an option that asks for confirmation once if recursively
removing directories or if more than 3 files are listed in the
command line.

This feature is intended to provide a safe net but not being too
annoying like having "rm -i" for every deleting operations, and
is generally good for both newbies and power users, preventing
them from being so easily run into ``rm -rf /'', ``rm -rf *''
and so forth.

Originally implemented by Matthew Dillon for DragonFly, plus
some improvements done by various DragonFly contributors.

Approved by: murray (mentor; the original dillon's version)
Discussed with: des
Obtained from: DragonFly's bin/rm/
rm.c rev. 1.4 - 1.8
rm.1 rev. 1.3 - 1.4
MFC After: 1 month

19 years agoReduce the locking activity by epsilon by checking VNON condition before
phk [Thu, 28 Oct 2004 08:22:11 +0000 (08:22 +0000)]
Reduce the locking activity by epsilon by checking VNON condition before
releasing the mountlock.

19 years agoWe only support backing UFS/FFS with disks.
phk [Thu, 28 Oct 2004 06:19:28 +0000 (06:19 +0000)]
We only support backing UFS/FFS with disks.

19 years agoWhat can I say: don't allow people to mount DEVFS with option "nodev".
phk [Thu, 28 Oct 2004 06:03:25 +0000 (06:03 +0000)]
What can I say: don't allow people to mount DEVFS with option "nodev".

19 years agoAssert that the containing vm object is locked in vm_page_cache() and
alc [Thu, 28 Oct 2004 05:26:21 +0000 (05:26 +0000)]
Assert that the containing vm object is locked in vm_page_cache() and
vm_page_try_to_cache().

19 years agocomment out debug printf.
alfred [Wed, 27 Oct 2004 23:19:34 +0000 (23:19 +0000)]
comment out debug printf.

Submitted by: rees

19 years agoFix a INVARIANTS-only bug introduced in Revision 1.104:
bmilekic [Wed, 27 Oct 2004 21:19:35 +0000 (21:19 +0000)]
Fix a INVARIANTS-only bug introduced in Revision 1.104:

IF INVARIANTS is defined, and in the rare case that we have
allocated some objects from the slab and at least one initializer
on at least one of those objects failed, and we need to fail the
allocation and push the uninitialized items back into the slab
caches -- in that scenario, we would fail to [re]set the
bucket cache's ub_bucket item references to NULL, which would
eventually trigger a KASSERT.

19 years agoNever be afraid to try something new. Remember, amateurs built the ark.
wilko [Wed, 27 Oct 2004 20:28:56 +0000 (20:28 +0000)]
Never be afraid to try something new. Remember, amateurs built the ark.
Professionals built the Titanic.

19 years agoMove the 'debug' sysctl tree under options SYSCTL_DEBUG. It generates
rwatson [Wed, 27 Oct 2004 19:26:01 +0000 (19:26 +0000)]
Move the 'debug' sysctl tree under options SYSCTL_DEBUG.  It generates
an inordinate amount of synchronous console output that is fairly
undesirable on slower serial console.  It's easily hit by accident
when frobbing other sysctls late at night.

19 years agoThese are unnecessary and have been causing imp@ trouble.
des [Wed, 27 Oct 2004 19:07:36 +0000 (19:07 +0000)]
These are unnecessary and have been causing imp@ trouble.

19 years agoForcibly disable interrupts, if we find ourselves servicing one when
bms [Wed, 27 Oct 2004 19:02:23 +0000 (19:02 +0000)]
Forcibly disable interrupts, if we find ourselves servicing one when
the device is suspended or shutting down. This will need to be rethought
slightly if we implement suspend/resume support within vr(4).
This appears to fix the vr_shutdown() panic on SMP machines.

My theory here is there's a race somewhere during vr_detach() with
vr_intr() in the SMP case which was sometimes being triggered,
although quite why this was happening is unclear (vr_stop() also
explicitly disables interrupts by writing to the IMR register).

MFC-to-RELENG_5* candidate.

PR: kern/62889
Tested by: seb at struchtrup dot com
MFC after: 10 days

19 years agoDuring traversal of the active queue, try locking the page's containing
alc [Wed, 27 Oct 2004 18:29:17 +0000 (18:29 +0000)]
During traversal of the active queue, try locking the page's containing
object before accessing the page's flags or the object's reference count.
If the trylock fails, handle the page as though it is busy.

19 years agoRaise MAXDSIZ from 8G to 32G. The old limit was just an arbitary choice
peter [Wed, 27 Oct 2004 17:21:15 +0000 (17:21 +0000)]
Raise MAXDSIZ from 8G to 32G.  The old limit was just an arbitary choice
that was greater than 4G.  I originally used the same values as i386 in
order to save opening a new PML4 page slot, but in the day of gigabytes
of memory, worrying about a 4K page seems futile.  Moving from 8 to 32G
moves the page to a different index, it doesn't increase the number of
pages used.

19 years agoFix brk(3). The stack was unbalanced when we jumped to cerror. Oops!
peter [Wed, 27 Oct 2004 17:11:43 +0000 (17:11 +0000)]
Fix brk(3).  The stack was unbalanced when we jumped to cerror.  Oops!
This causes nasty things like SEGV or a cpu spin when we return.

Submitted by: "James R. Van Artsalen" <james@jrv.org>

19 years agoAdd necessary whitespace to correct cross references.
ceri [Wed, 27 Oct 2004 11:26:51 +0000 (11:26 +0000)]
Add necessary whitespace to correct cross references.

PR: docs/73193
Submitted by: Jilles Tjoelker <jilles at stack.nl>

19 years agoMove the syncer linkage from vnode to bufobj.
phk [Wed, 27 Oct 2004 08:05:02 +0000 (08:05 +0000)]
Move the syncer linkage from vnode to bufobj.

This is not quite a perfect separation: the syncer still think it knows
that everything is a vnode.

19 years agoEliminate unnecessary KASSERTs.
phk [Wed, 27 Oct 2004 06:48:21 +0000 (06:48 +0000)]
Eliminate unnecessary KASSERTs.

Don't use bp->b_vp in VOP_STRATEGY: the vnode is passed in as an argument.

19 years agoEliminate unnecessary KASSERT.
phk [Wed, 27 Oct 2004 06:47:00 +0000 (06:47 +0000)]
Eliminate unnecessary KASSERT.

Eliminate a printf which would never tell us anything anyway because the
KASSERT would have triggered.

19 years agoAvoid using bp->b_vp when we already have the vnode by other means.
phk [Wed, 27 Oct 2004 06:45:52 +0000 (06:45 +0000)]
Avoid using bp->b_vp when we already have the vnode by other means.

19 years agoEliminate unnecessary KASSERTS.
phk [Wed, 27 Oct 2004 06:45:06 +0000 (06:45 +0000)]
Eliminate unnecessary KASSERTS.

19 years agoFix a typo in a comparison appeared in rev. 1.125.
maxim [Wed, 27 Oct 2004 05:37:58 +0000 (05:37 +0000)]
Fix a typo in a comparison appeared in rev. 1.125.

Submitted by: JINMEI Tatuya

19 years agoAllow tar format to read and accept an empty (or non-existent)
kientzle [Wed, 27 Oct 2004 05:15:23 +0000 (05:15 +0000)]
Allow tar format to read and accept an empty (or non-existent)
file.  In particular, this allows bsdtar to append (-r) to
an empty file.

Thanks to: Ryan Sommers

While I'm here, straighten out a misleading comment about GNU-compatible
sparse file handling.

19 years agoSynchronize access to the vm page's PG_BUSY flag using the containing vm
alc [Wed, 27 Oct 2004 02:05:00 +0000 (02:05 +0000)]
Synchronize access to the vm page's PG_BUSY flag using the containing vm
object's lock.  In the same place, eliminate unnecessary checks for a NULL
vm object pointer.

19 years agoDocument that libkvm requires device mem to work.
imp [Tue, 26 Oct 2004 21:11:06 +0000 (21:11 +0000)]
Document that libkvm requires device mem to work.

19 years agoGive each plex a separate queue where held back bios are put on.
le [Tue, 26 Oct 2004 21:01:42 +0000 (21:01 +0000)]
Give each plex a separate queue where held back bios are put on.
This lowers the CPU usage of the worker thread and prevents a
possible live lock on non-SMP machines.

MFC candidate.

19 years agoKASSERT that we only get to prewrite() on writes.
phk [Tue, 26 Oct 2004 20:13:49 +0000 (20:13 +0000)]
KASSERT that we only get to prewrite() on writes.

19 years agoWhite space changes. Add missing static.
phk [Tue, 26 Oct 2004 20:13:21 +0000 (20:13 +0000)]
White space changes.  Add missing static.

19 years agoReplace single case switch() with if().
phk [Tue, 26 Oct 2004 20:12:25 +0000 (20:12 +0000)]
Replace single case switch() with if().

19 years agoVertically align comment.
phk [Tue, 26 Oct 2004 20:12:00 +0000 (20:12 +0000)]
Vertically align comment.

19 years agoRemove blank line which crept in.
phk [Tue, 26 Oct 2004 20:11:27 +0000 (20:11 +0000)]
Remove blank line which crept in.

19 years agoAlso check that the sectormask is bigger than zero.
phk [Tue, 26 Oct 2004 19:51:57 +0000 (19:51 +0000)]
Also check that the sectormask is bigger than zero.

Wrap this overly long KASSERT and remove newline.

19 years agoWorkaround for a recursive acquisition of the driver mutex during device
bms [Tue, 26 Oct 2004 19:49:45 +0000 (19:49 +0000)]
Workaround for a recursive acquisition of the driver mutex during device
detach; triggered by ether_ifdetach() -> if_delmulti() -> vr_ioctl().
MFC candidate.

PR: kern/62889
MFC after: 3 days

19 years agoCorrect a misspelling, 'task_fn' -> 'task_fn_t'.
bms [Tue, 26 Oct 2004 17:14:45 +0000 (17:14 +0000)]
Correct a misspelling, 'task_fn' -> 'task_fn_t'.

Noticed by: sah at softcardsystems dot com
MFC after: 3 days

19 years agoUncomment DIRECTIO and NSWBUF_MIN. They are both positive options (i.e.
des [Tue, 26 Oct 2004 12:20:57 +0000 (12:20 +0000)]
Uncomment DIRECTIO and NSWBUF_MIN.  They are both positive options (i.e.
they enable rather than disable code), so they should be on in LINT.

19 years agoThe island council met and voted buf_prewrite() home.
phk [Tue, 26 Oct 2004 10:44:10 +0000 (10:44 +0000)]
The island council met and voted buf_prewrite() home.

Give ffs it's own bufobj->bo_ops vector and create a private strategy
routine, (currently misnamed for forwards compatibility), which is
just a copy of the generic bufstrategy routine except we call
softdep_disk_prewrite() directly instead of through the buf_prewrite()
indirection.

Teach UFS about the need for softdep_disk_prewrite() and call the
function directly in FFS.

Remove buf_prewrite() from the default bufstrategy() and from the
global bio_ops method vector.

19 years agoFix syntax errors introduced by last commit.
phk [Tue, 26 Oct 2004 09:04:20 +0000 (09:04 +0000)]
Fix syntax errors introduced by last commit.

Why isn't DIRECTIO in NOTES/LINT ?

19 years agoAdd a matching tunable for net.inet.tcp.sack.enable sysctl.
rwatson [Tue, 26 Oct 2004 08:59:09 +0000 (08:59 +0000)]
Add a matching tunable for net.inet.tcp.sack.enable sysctl.

19 years agoPut the I/O block size in bufobj->bo_bsize.
phk [Tue, 26 Oct 2004 07:39:12 +0000 (07:39 +0000)]
Put the I/O block size in bufobj->bo_bsize.

We keep si_bsize_phys around for now as that is the simplest way to pull
the number out of disk device drivers in devfs_open().  The correct solution
would be to do an ioctl(DIOCGSECTORSIZE), but the point is probably mooth
when filesystems sit on GEOM, so don't bother for now.

19 years agoHold the lock on the containing vm object when calling
alc [Tue, 26 Oct 2004 06:58:26 +0000 (06:58 +0000)]
Hold the lock on the containing vm object when calling
vm_page_sleep_if_busy().

19 years agoRemove unused si_bsize_best field from struct cdev.
phk [Tue, 26 Oct 2004 06:53:00 +0000 (06:53 +0000)]
Remove unused si_bsize_best field from struct cdev.

19 years agoDegeneralize the per cdev copyonwrite callback. The only possible value
phk [Tue, 26 Oct 2004 06:25:56 +0000 (06:25 +0000)]
Degeneralize the per cdev copyonwrite callback.  The only possible value
is ffs_copyonwrite() and the only place it can be called from is FFS which
would never want to call another filesystems copyonwrite method, should one
exist, so there is no reason why anything generic should know about this.

19 years agoAlign comment
phk [Tue, 26 Oct 2004 06:15:39 +0000 (06:15 +0000)]
Align comment

19 years agoDon't clear flags we just checked were not set.
phk [Tue, 26 Oct 2004 05:57:29 +0000 (05:57 +0000)]
Don't clear flags we just checked were not set.

19 years agoCheck that rt_mask(rt) is non-NULL before dereferencing it, in the
bms [Tue, 26 Oct 2004 03:31:58 +0000 (03:31 +0000)]
Check that rt_mask(rt) is non-NULL before dereferencing it, in the
RTM_ADD case, thus avoiding a panic.

Submitted by: Iasen Kostov

19 years agoTypo: s/Exampes/Examples
blackend [Mon, 25 Oct 2004 20:56:24 +0000 (20:56 +0000)]
Typo: s/Exampes/Examples

19 years agoSwitch the default CFLAGS to -O2 -pipe.
des [Mon, 25 Oct 2004 20:04:50 +0000 (20:04 +0000)]
Switch the default CFLAGS to -O2 -pipe.

Submitted by: obrien

19 years agoIPDIVERT is a module now and tell the other parts of the kernel about it.
andre [Mon, 25 Oct 2004 20:02:34 +0000 (20:02 +0000)]
IPDIVERT is a module now and tell the other parts of the kernel about it.
IPDIVERT depends on IPFIREWALL being loaded or compiled into the kernel.

19 years agoAssert that the containing vm object is locked in vm_page_flash().
alc [Mon, 25 Oct 2004 19:52:44 +0000 (19:52 +0000)]
Assert that the containing vm object is locked in vm_page_flash().

19 years agoDon the teflon coated jacket and use the same -O2 optimization options on
obrien [Mon, 25 Oct 2004 18:24:39 +0000 (18:24 +0000)]
Don the teflon coated jacket and use the same -O2 optimization options on
the 'i386' kernel that we do all our 64-bit kernels.

19 years agouse NULL instead of 0 when casting/comparing w/ a pointer...
jmg [Mon, 25 Oct 2004 17:04:40 +0000 (17:04 +0000)]
use NULL instead of 0 when casting/comparing w/ a pointer...

19 years agoReword the last change a bit, add mdoc(7) markup.
yar [Mon, 25 Oct 2004 13:35:03 +0000 (13:35 +0000)]
Reword the last change a bit, add mdoc(7) markup.

Discussed with: bde

19 years agoGet rid of the magic "stash" of cdev structures, we no longer call
phk [Mon, 25 Oct 2004 13:12:06 +0000 (13:12 +0000)]
Get rid of the magic "stash" of cdev structures, we no longer call
make_dev() before malloc works.

19 years agoUse unit number allocation functions for GEOM minor numbers.
phk [Mon, 25 Oct 2004 12:28:28 +0000 (12:28 +0000)]
Use unit number allocation functions for GEOM minor numbers.

19 years agoAdd delete_unrhdr() function.
phk [Mon, 25 Oct 2004 12:27:03 +0000 (12:27 +0000)]
Add delete_unrhdr() function.

It will fail fatally if all allocated numbers have not been returned first.

19 years agoDevice driver for onboard CS4231 audio controller which is found
yongari [Mon, 25 Oct 2004 10:29:57 +0000 (10:29 +0000)]
Device driver for onboard CS4231 audio controller which is found
on UltraSPARC workstations. The driver is based on OpenBSD's SBus
cs4231 driver and heavily modified to incorporate into sound(4)
infrastructure. Due to the lack of APCDMA documentation, the DMA
code of SBus cs4231 came from OpenBSD's driver.
The driver runs without Giant lock and supports both SBus and EBus
based CS4231 audio controller. Special thanks to marius for providing
feedbacks during the driver writing. His feedback made it possible
to write hiccup free playback code under high system loads.

Approved by: jake (mentor)
Reviewed by: marius (initial version)
Tested by: marius, kwm, Julian C. Dunn(jdunn AT opentrend DOT net)

19 years agoLoose the v_dirty* and v_clean* alias macros.
phk [Mon, 25 Oct 2004 09:14:03 +0000 (09:14 +0000)]
Loose the v_dirty* and v_clean* alias macros.

Check the count field where we just want to know the full/empty state,
rather than using TAILQ_EMPTY() or TAILQ_FIRST().

19 years ago- Add 'check' command for checking rules syntax.
pjd [Mon, 25 Oct 2004 08:12:28 +0000 (08:12 +0000)]
- Add 'check' command for checking rules syntax.
- Before flushing rules in 'reload' command, check first if rules are
  correct.
- Do not duplicate checking if $pf_rules file exists.

19 years agoRemove vnode->v_bsize. This was a dead-end.
phk [Mon, 25 Oct 2004 07:50:59 +0000 (07:50 +0000)]
Remove vnode->v_bsize.  This was a dead-end.

19 years agoRetire si_stripesize and si_stripeoffset they will not be needed in cdev
phk [Mon, 25 Oct 2004 07:40:54 +0000 (07:40 +0000)]
Retire si_stripesize and si_stripeoffset they will not be needed in cdev
in the future.

19 years agoUse VM_ALLOC_NOBUSY to eliminate vm_page_wakeup() calls and the acquisition
alc [Mon, 25 Oct 2004 06:34:14 +0000 (06:34 +0000)]
Use VM_ALLOC_NOBUSY to eliminate vm_page_wakeup() calls and the acquisition
and release of the global page queues lock required to make the call.

Remove GIANT_REQUIRED from vm_hold_free_pages().  All of its VM operations
are properly synchronized.

19 years agoCollapse vnode->v_object and buf->b_object into bufobj->bo_object.
phk [Mon, 25 Oct 2004 06:02:57 +0000 (06:02 +0000)]
Collapse vnode->v_object and buf->b_object into bufobj->bo_object.

19 years agoRemove useless inclusion of <sys/disklabel.h>
marcel [Mon, 25 Oct 2004 03:44:10 +0000 (03:44 +0000)]
Remove useless inclusion of <sys/disklabel.h>

Obtained from: Dan Markarian <markarian at apple dot com>

19 years agoDeclare variables as static, like I intended.
marcel [Mon, 25 Oct 2004 03:39:31 +0000 (03:39 +0000)]
Declare variables as static, like I intended.

Obtained from: Dan Markarian <markarian at apple dot com>

19 years agoFix bogon. Create the BSD label in the FreeBSD slice.
marcel [Mon, 25 Oct 2004 03:29:21 +0000 (03:29 +0000)]
Fix bogon. Create the BSD label in the FreeBSD slice.

19 years agoCatch up with the BSD label changes. The partition offsets are relative
marcel [Mon, 25 Oct 2004 03:27:31 +0000 (03:27 +0000)]
Catch up with the BSD label changes. The partition offsets are relative
to the partition now. While here, make sure we skip unused partition
entries.

19 years agoBuild gpt(8) on all platforms.
marcel [Mon, 25 Oct 2004 02:25:17 +0000 (02:25 +0000)]
Build gpt(8) on all platforms.

19 years agoAdd byte swapping and UUID encoding/decoding to allow gpt to be compiled
marcel [Mon, 25 Oct 2004 02:23:39 +0000 (02:23 +0000)]
Add byte swapping and UUID encoding/decoding to allow gpt to be compiled
on big-endian machines.

Obtained from: Dan Markarian <markarian at apple dot com>

19 years agoAssert that the containing vm object is locked in vm_page_busy() and
alc [Sun, 24 Oct 2004 23:53:47 +0000 (23:53 +0000)]
Assert that the containing vm object is locked in vm_page_busy() and
vm_page_wakeup().

19 years agoMove from using the socket reference count to the file reference
rwatson [Sun, 24 Oct 2004 23:45:01 +0000 (23:45 +0000)]
Move from using the socket reference count to the file reference
count to prevent sockets from being garbage collected during
socket-specific system calls.  This is the same approach used in
most VFS-specific system calls, as well as generic file descriptor
system calls such as read() and write().

To do this, add a utility function getsock(), which is logically
identical to getvnode() used for the same purpose in VFS.  Unlike
fgetsock(), it returns with the file reference count elevated, but
no bump of the socket reference count.  Replace matching calls to
fputsock() with fdrop().

This change is made to all socket system calls other than
sendfile() and accept(), but the approach should be applicable to
those system calls also.

This shaves about four mutex operations off of each of these
system calls, including send() and recv() variants, adding about
1% to pps on minimal UDP packets for UP using netblast, and 4% on
SMP.

Reviewed by: pjd

19 years agoLog the actual number of bytes sent on the wire to /var/log/ftpd
yar [Sun, 24 Oct 2004 20:12:08 +0000 (20:12 +0000)]
Log the actual number of bytes sent on the wire to /var/log/ftpd
instead of the disk size of the file sent.   Since the log file
is intended to provide data for anonymous ftp traffic accounting,
the disk size of the file isn't really informative in this case.

PR: bin/72687
Submitted by: Oleg Koreshkov
MFC after: 1 week

19 years agoUse VM_ALLOC_NOBUSY instead of calling vm_page_wakeup().
alc [Sun, 24 Oct 2004 20:09:59 +0000 (20:09 +0000)]
Use VM_ALLOC_NOBUSY instead of calling vm_page_wakeup().

19 years agoMove the buffer method vector (buf->b_op) to the bufobj.
phk [Sun, 24 Oct 2004 20:03:41 +0000 (20:03 +0000)]
Move the buffer method vector (buf->b_op) to the bufobj.

Extend it with a strategy method.

Add bufstrategy() which do the usual VOP_SPECSTRATEGY/VOP_STRATEGY
song and dance.

Rename ibwrite to bufwrite().

Move the two NFS buf_ops to more sensible places, add bufstrategy
to them.

Add inlines for bwrite() and bstrategy() which calls through
buf->b_bufobj->b_ops->b_{write,strategy}().

Replace almost all VOP_STRATEGY()/VOP_SPECSTRATEGY() calls with bstrategy().

19 years agoMention fdescfs(5) and why it might be useful.
rwatson [Sun, 24 Oct 2004 19:44:23 +0000 (19:44 +0000)]
Mention fdescfs(5) and why it might be useful.

MFC after: 1 week
Suggested by: Stephen Montgomery-Smith <stephen at math dot missouri dot edu>

19 years agoFix a panic discovered with some apache2 configure test (that seemed to
mlaier [Sun, 24 Oct 2004 19:35:02 +0000 (19:35 +0000)]
Fix a panic discovered with some apache2 configure test (that seemed to
trigger a socket creation race some some kind). Checking for non-NULL socket
and credential is not a bad idea anyway. Unfortunatly too late for the
release.

Reported & tested by: Gilbert Cao
MFC after: 2 weeks

19 years agoAcquire the vm object lock before rather than after calling
alc [Sun, 24 Oct 2004 19:32:19 +0000 (19:32 +0000)]
Acquire the vm object lock before rather than after calling
vm_page_sleep_if_busy().  (The motivation being to transition
synchronization of the vm_page's PG_BUSY flag from the global page queues
lock to the per-object lock.)

19 years agoUse VM_ALLOC_NOBUSY instead of calling vm_page_wakeup().
alc [Sun, 24 Oct 2004 18:46:32 +0000 (18:46 +0000)]
Use VM_ALLOC_NOBUSY instead of calling vm_page_wakeup().

19 years agoFor variables that are only checked with defined(), don't provide
ru [Sun, 24 Oct 2004 16:20:59 +0000 (16:20 +0000)]
For variables that are only checked with defined(), don't provide
any fake value.

19 years agoOnly check if ENABLE_SUID_NEWGRP is defined, for consistency with
ru [Sun, 24 Oct 2004 16:02:38 +0000 (16:02 +0000)]
Only check if ENABLE_SUID_NEWGRP is defined, for consistency with
other ENABLE_SUID_* variables.

19 years agoFor variables that are only checked with defined(), don't provide
ru [Sun, 24 Oct 2004 15:52:04 +0000 (15:52 +0000)]
For variables that are only checked with defined(), don't provide
any fake value.

While here, sort NO*'s in dictionary order to ease searching by a
human being.

19 years agoFor variables that are only checked with defined(), don't provide
ru [Sun, 24 Oct 2004 15:46:50 +0000 (15:46 +0000)]
For variables that are only checked with defined(), don't provide
any fake value.

19 years agoFor variables that are only checked with defined(), don't provide
ru [Sun, 24 Oct 2004 15:33:08 +0000 (15:33 +0000)]
For variables that are only checked with defined(), don't provide
any fake value.

19 years agoThere's no such knob as WERROR.
ru [Sun, 24 Oct 2004 14:55:35 +0000 (14:55 +0000)]
There's no such knob as WERROR.

19 years agoAdd a Japanese override of dev-auto.sgml.
hrs [Sun, 24 Oct 2004 14:31:27 +0000 (14:31 +0000)]
Add a Japanese override of dev-auto.sgml.

Based on work by: Ryusuke Suzuki (ryusuke at nucl.sci.hokudai.ac.jp)

19 years agoFixed misspelling of DPADD.
ru [Sun, 24 Oct 2004 14:25:53 +0000 (14:25 +0000)]
Fixed misspelling of DPADD.

19 years ago- use `realpath /dev/dumpdev` instead of just /dev/dumpdev so messages
des [Sun, 24 Oct 2004 13:04:09 +0000 (13:04 +0000)]
- use `realpath /dev/dumpdev` instead of just /dev/dumpdev so messages
  will show the real device name
- show different error messages for missing dump device and directory

19 years ago- Use quad_t for dcons buffer address and size.
simokawa [Sun, 24 Oct 2004 12:41:04 +0000 (12:41 +0000)]
- Use quad_t for dcons buffer address and size.
- Allow read/write access to dcons buffer passed by loader(8).

19 years agoPreserve dcons(4) buffer passed by loader(8).
simokawa [Sun, 24 Oct 2004 12:37:47 +0000 (12:37 +0000)]
Preserve dcons(4) buffer passed by loader(8).

19 years agoNEED_LIBNAMES is gone long ago.
ru [Sun, 24 Oct 2004 12:36:21 +0000 (12:36 +0000)]
NEED_LIBNAMES is gone long ago.

19 years agoCollapse several adjacent .if's into .if/.elif.
ru [Sun, 24 Oct 2004 12:32:41 +0000 (12:32 +0000)]
Collapse several adjacent .if's into .if/.elif.

19 years agoELF64 support is not needed on pc98.
nyan [Sun, 24 Oct 2004 12:18:11 +0000 (12:18 +0000)]
ELF64 support is not needed on pc98.

19 years agoMFi386: revision 1.4.
nyan [Sun, 24 Oct 2004 12:16:18 +0000 (12:16 +0000)]
MFi386: revision 1.4.

19 years agoMFi386: Set bi_basemem and bi_extmem variables.
nyan [Sun, 24 Oct 2004 12:15:07 +0000 (12:15 +0000)]
MFi386: Set bi_basemem and bi_extmem variables.
        Respect RB_MULTIPLE flag.

19 years agoMFi386: Add support for preloading ELF relocatable object format modules.
nyan [Sun, 24 Oct 2004 12:14:05 +0000 (12:14 +0000)]
MFi386: Add support for preloading ELF relocatable object format modules.

19 years agoDisable ed1 - ed12.
nyan [Sun, 24 Oct 2004 12:07:02 +0000 (12:07 +0000)]
Disable ed1 - ed12.