alc
f142c827ba
Assert that the page queues lock is held in pmap_testbit().
2002-12-28 00:19:40 +00:00
alc
9a94897a13
- Change vm_object_page_collect_flush() to assert rather than
...
acquire the page queues lock.
- Acquire the page queues lock in vm_object_page_clean().
2002-12-27 20:16:13 +00:00
jake
e5ac7a26a9
Define UMA_MD_SMALL_ALLOC so that uma_small_alloc and uma_small_free will
...
be used for zones that allocate objects of less 1 page. The biggest advantage
of this is that all of a sudden the majority of kernel malloc-ed data doesn't
need kva allocated for it. Besides microbenchmarks I haven't seen a measurable
performance improvement from doing this.
2002-12-27 19:31:26 +00:00
jake
e50c4bb112
Teach /dev/kmem about direct mapped addresses.
...
Note that a better solution for how to make kernacc work for direct mapped
addresses is needed for all platforms that use them.
2002-12-27 19:18:04 +00:00
rwatson
20d1a52458
Re-add MNT_ACLS to the list of "updateable" mount flags, per our
...
documentation. Generally, you really shouldn't twiddle the flag,
but there are sensible scenarios where one might.
Obtained from: TrustedBSD Project
2002-12-27 18:20:16 +00:00
rwatson
dfce4bd012
Use OPERATOR instead of WHEEL for make_dev(), use 0640 instead of 0644
...
for disk devices to be consistent with other storage devices.
Submitted by: kris
Reviewed by: scottl
2002-12-27 17:52:16 +00:00
rwatson
4cb5c6109a
Use UID_ and GID_ constants instead of hard-coded numeric values
...
with make_dev(). Use OPERATOR instead of implicit WHEEL to match
other storage devices. Use a mode of 0640 to be consistent
with other storage devices.
Submitted by: kris
Reviewed by: scottl
2002-12-27 17:50:39 +00:00
iedowse
f546200705
Bridged packets are supplied to the firewall with their IP header
...
in network byte order, but icmp_error() expects the IP header to
be in host order and the code here did not perform the necessary
swapping for the bridged case. This bug causes an "icmp_error: bad
length" panic when certain length IP packets (e.g. ip_len == 0x100)
are rejected by the firewall with an ICMP response.
MFC after: 3 days
2002-12-27 17:43:25 +00:00
iedowse
f6258ba488
Oops, I misread the purpose of the NULL check in EH_RESTORE() in
...
revision 1.62. It was checking for M_PREPEND() failing, not for the
case of a NULL mbuf pointer being supplied to the macro. Back out
that revision, and fix the NULL dereference by not calling EH_RESTORE()
in the case where the mbuf pointer is NULL because the firewall
rejected the packet.
2002-12-27 17:15:16 +00:00
rwatson
4dcc4f2f7e
Improve consistency between devfs and MAKEDEV: use UID_ROOT and
...
GID_WHEEL instead of UID_BIN and GID_BIN for /dev/fd/* entries.
Submitted by: kris
2002-12-27 16:54:44 +00:00
rwatson
2d0812316b
Use UID_ROOT and GID_WHEEL for uid/gid argments to make_dev().
...
Remove the setgid bit from the tga device (?).
Synchronize mode with modes used for related frame buffer devices
in MAKEDEV (tga doesn't appear in MAKEDEV).
Submitted by: kris
2002-12-27 16:44:11 +00:00
rwatson
c4c3d27cd6
Make use of UID_ROOT, GID_WHEEL for make_dev() arguments.
...
Remove the setgid bit from the 3dfx device (?).
Synchronize permissions with the values in MAKEDEV for consistency.
Submitted by: kris
2002-12-27 16:40:54 +00:00
rwatson
7d61eb935f
Synchronize mode for ppsX devices to that found previously in MAKEDEV
...
for consistency.
Submitted by: kris
2002-12-27 16:34:12 +00:00
rwatson
17b89f8557
Synchronize make_dev() for pcfclock devices to the values in MAKEDEV
...
for consistency.
Submitted by: kris
2002-12-27 16:32:10 +00:00
rwatson
4459bf4da1
Remove S_IROTH from the make_dev() lines for iir-related devices. This
...
improves protection consistency with other storage devices (generally
root:operator,660). This driver appears not to have an active
maintainer.
Submitted by: kris
2002-12-27 16:28:31 +00:00
iedowse
c2502c00ea
Fix a bug introduced by revision 1.59 that would cause an immediate
...
NULL dereference if a bridged packet was rejected by ipfw.
2002-12-27 16:27:45 +00:00
ue
9f58b9de0e
MFbed: translation updates:
...
hardware/alpha/proc-alpha.sgml: 1.49 -> 1.51
installation/common/install.sgml: 1.16 -> 1.17
installation/common/trouble.sgml: 1.8 -> 1.10
relnotes/common/new.sgml: 1.466 -> 1.467
2002-12-27 15:00:06 +00:00
schweikh
fec6546e12
english(4) police.
2002-12-27 12:15:40 +00:00
phk
72aba11981
Use three UMA zones for FFS/UFS inodes instead of malloc space.
...
Since inodes are currently 144 bytes, this will save 112 bytes per
inode. This can amount to up to 10MByte on large systems.
2002-12-27 11:05:05 +00:00
phk
3d9be4e20a
Move the allocation of the inode contents into ffs_vfsops.c rather than
...
passing malloc types around.
2002-12-27 10:23:03 +00:00
ru
357cc16da8
POLA dictates that in the file designated with the -f option
...
argument, leading whitespace and empty lines be ignored, and
the `#' character marks the rest of the line as a comment.
PR: bin/45958
MFC after: 3 days
2002-12-27 10:09:04 +00:00
phk
afd8ad09d7
Make ffs_mountfs() static.
...
Remove the malloctype from the ufs mount structure, instead add a callback
to the storage method for freeing inodes: UFS_IFREE().
Add vfs_ifree() method function which frees an inode.
Unvariablelize the malloc type used for allocating inodes.
2002-12-27 10:06:37 +00:00
alfred
2078a4c774
Silence casting away constness warnings.
...
Make cgetmatch's locals const.
Make cdbget take a const string and copy it into a buffer.
2002-12-27 08:43:40 +00:00
alfred
8c99fb48c7
Lock filedesc while performing a range check on the file descriptor.
...
Reviewed by: alc
2002-12-27 08:39:42 +00:00
tjr
baa27ec2ab
Fix a small typo.
2002-12-27 08:28:53 +00:00
julian
997c868ce3
Slight tuning if teh KSE man page to indicate some functionality is
...
not yet inplemented and to clear up some wording.
2002-12-27 08:21:15 +00:00
phk
27cb79fe10
Remove the "ascii" attribute from the sysctls so that "sysctl -a" will
...
skip them.
2002-12-27 07:58:59 +00:00
alc
a221c3d422
Hold the page queues lock when calling vm_page_flag_clear().
2002-12-27 06:52:32 +00:00
alc
b9ffe85ed2
Increase the scope of the page queues lock in phys_pager_getpages().
2002-12-27 06:09:56 +00:00
trhodes
691282b859
mount_msdos(8) > mount_msdosfs(8) as they have different names in 4.X/5.X.
...
Correct link to the handbook (typo).
Pointed out by: chris
2002-12-27 04:06:04 +00:00
trhodes
ea00b713bc
Whitespace created in Makefile from previous commit.
2002-12-27 03:17:39 +00:00
trhodes
04bc8355a5
Add a manual page for msdosfs (msdos.5) and connect it to the build.
...
Quick review by: chris (older version)
2002-12-27 03:17:02 +00:00
jake
16cc24455b
Implement uma_small_alloc and uma_small_free. Not yet used.
2002-12-27 03:11:29 +00:00
jake
073c2d289b
- Use direct mapped addresses for the message buffer, for the crash dump
...
mappings, and for pmap_map which is used to map the vm_page structures.
- Don't allocate kva space for any of the above.
2002-12-27 01:50:29 +00:00
jake
49979268c1
Teach libkvm to deal with direct mapped addresses.
2002-12-27 01:45:05 +00:00
tjr
8c4109166a
Be more consistent with "static".
2002-12-27 01:01:03 +00:00
hsu
da4baeac50
Long chain of calls starting with bridge_on(), going through IPv6, and
...
ending up at ifa_ifwithdstaddr() could lead to a recursive lock of
the ifnet list mutex.
2002-12-27 00:24:35 +00:00
phk
516da34ba8
white-space changes
2002-12-26 21:02:50 +00:00
phk
2e1375146e
Use a mutex assert to document our locking circumstances.
2002-12-26 20:48:22 +00:00
phk
3d7762dd22
We should not need to hold Giant for sbuf operations any more.
2002-12-26 20:46:30 +00:00
phk
3e75022eb7
Add an XXX comment to explain the predicament.
2002-12-26 20:45:37 +00:00
ru
99caa6f36a
s/pseudo-device/device/
2002-12-26 19:56:29 +00:00
nyan
63904a7353
Return an error if the size of the sector is zero. This is for removable
...
devices that is not inserted any media.
This is MFC candidate.
Submitted by: ISAKA Yoji <isaka@cory.jp>
2002-12-26 15:50:45 +00:00
tjr
2b2581b1ef
Unbreak for the !__XSI_VISIBLE case when another header that defines
...
size_t has not been included first.
2002-12-26 14:44:45 +00:00
tjr
7295c6ae04
Add "restrict" qualifiers to the prototype for wordexp().
2002-12-26 14:38:27 +00:00
tjr
eeed1ed55b
Add an implementation of the POSIX wordexp() and wordfree() functions,
...
which perform shell-style word expansion on strings. This is still a
little rough around the edges.
PR: 13420
2002-12-26 14:34:18 +00:00
tjr
d6329a70b8
Add the POSIX <wordexp.h> header file.
...
PR: 13420
2002-12-26 14:30:55 +00:00
tjr
3b9687df3d
Add the "wordexp" shell built-in command which will be used to implement
...
the POSIX wordexp() function.
2002-12-26 14:28:54 +00:00
iedowse
89d815a706
When resuming after a system suspend, re-issue the UHCI_CMD_MAXP
...
command in case this setting was not saved. Since bandwidth reclamation
(-current only) often results in bus activity continuing to the end
of every frame, most transfers would fail with IOERROR if this
setting is missed.
Reviewed by: n_hibma
MFC after: 1 week
2002-12-26 13:25:57 +00:00
davidxu
3aeffc5ae1
Set %bx register instead of %di register, see vbe3.0, page 45.
2002-12-26 13:20:58 +00:00