| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
There are two 3rd party code chunks using this still - the IPv6 stuff and
i4b. Give them a private copy as an alternative to changing them too much.
XXX sys/kernel.h still has a #include <sys/module.h> in it. I will be
taking this out shortly - this affects a number of drivers.
|
|
|
|
| |
Doesn't work, no maintainer, more promising code exists elsewhere.
|
| |
|
| |
|
|
|
|
|
|
| |
opt_foo.h:
touch opt_foo.h
.. is unnecessary - kmod.mk does this for us.
|
|
|
|
| |
Make buffer_map a system map.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
by myself. It solves a serious vm_map corruption problem that can occur
with the buffer cache when block sizes > 64K are used. This code has been
heavily tested in -stable but only tested somewhat on -current. An MFC
will occur in a few days. My additions include the vm_map_simplify_entry()
and minor buffer cache boundry case fix.
Make the buffer cache use a system map for buffer cache KVM rather then a
normal map.
Ensure that VM objects are not allocated for system maps. There were cases
where a buffer map could wind up with a backing VM object -- normally
harmless, but this could also result in the buffer cache blocking in places
where it assumes no blocking will occur, possibly resulting in corrupted
maps.
Fix a minor boundry case in the buffer cache size limit is reached that
could result in non-optimal code.
Add vm_map_simplify_entry() calls to prevent 'creeping proliferation'
of vm_map_entry's in the buffer cache's vm_map. Previously only a simple
linear optimization was made. (The buffer vm_map typically has only a
handful of vm_map_entry's. This stabilizes it at that level permanently).
PR: 20609
Submitted by: (Tor Egge) tegge
|
|
|
|
| |
Submitted by: Christian Weisgerber <naddy@mips.inka.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
entry fits within its DIRBLKSIZ block. The surrounding code is
extremely fragile with respect to corruption of the directory entry
'd_reclen' field; if directory corruption occurs, it can blindly
scan forward beyond the end of the filesystem block. Usually this
results in a 'fault on nofault entry' panic.
Directory corruption is now much more likely to be detected, resulting
in a 'ufs_dirbad' panic. If the filesystem is read-only, it will
simply print a warning message, and skip the corrupted block.
Reviewed by: mckusick
|
|
|
|
|
|
|
|
|
|
| |
in ufs_dirbad(). The mnt_stat.f_flags field is only updated by the
syscalls *statfs and getfsstat, so mnt_flag should be used instead.
This only affects whether or not a panic is generated on detection of
certain types of directory corruption.
Reviewed by: mckusick
|
|
|
|
|
|
|
| |
turned on, and the case of it not being defined at all.
i.e. Disabling bridging re-enables some of the checks it disables.
Submitted by: "Rogier R. Mulhuijzen" <drwilco@drwilco.net>
|
|
|
|
|
|
|
| |
<sys/queue.h> implementation details.
Created with: /usr/sbin/sed
Reviewed with: /sbin/md5
|
|
|
|
|
| |
Created with: /usr/bin/sed
Reviewed by: /sbin/md5
|
|
|
|
|
|
|
| |
time to sort out the quirks. Add 'options PREEMPTION' to test it on
the Alpha.
Reviewed by: jhb
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in tunopen())
o Change the default device permissions to 0600 root:wheel
(were uucp:dialer)
o Only let root (suser()) change the MTU
This makes it possible for an administrator to open up the
permissions on /dev/tun*, letting non-root programs service
a tun interface. Co-operation is still required with a
priviledged program that will configure the interface side
of things.
|
|
|
|
|
| |
time it is because boottime is not yet initialized. Finagle the relevant
fields when we get the chance.
|
|
|
|
|
|
| |
out any data pending in the buffer.
Submitted by: Tony Finch <dot@dotat.at>
|
|
|
|
|
| |
Give symlinks mode 755 by default to avoid triggering alert eyes.
(the mode isn't use on symlinks)
|
| |
|
|
|
|
|
|
|
|
|
| |
* Optimise the return path for syscalls so that they only restore a minimal
set of registers instead of performing a full exception_return.
A new flag in the trapframe indicates that the frame only holds partial
state. When it is necessary to perform a full state restore (e.g. after an
execve or signal), the flag is cleared to force a full restore.
|
|
|
|
|
|
| |
version. This should fix the read-before-write problem again.
Obtained from: "Adam J. Richter" <adam@yggdrasil.com>
|
|
|
|
|
|
|
| |
striped plexes. This prevents various panics introduced in the last
rewrite of the locking code.
Suffered by: "Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
|
|
|
|
| |
from the clone handler.
|
| |
|
|
|
|
| |
Reviewed by: Per Kristian Hove <Per.Hove@math.ntnu.no>
|
|
|
|
|
|
| |
when I did my sweeps.
Submitted by: mjacob
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Forgotten by: me
|
|
|
|
|
|
| |
and while I'm there, clean up the worklist insertion and removal.
Inspired by: Harti Brandt <brandt@fokus.gmd.de>
|
|
|
|
|
|
| |
amount of GPL'd firmware in the driver, it will only be built as a module.
Approved by: cg
|
| |
|
|
|
|
| |
is i386-specific, so name the module atspeaker rather than speaker).
|
| |
|
| |
|
|
|
|
| |
Reviewed by: imp
|
|
|
|
| |
Remove unused variable.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- If possible, context switch to the thread directly in sched_ithd(),
rather than triggering a delayed ast reschedule.
- Disable interrupts while restoring fpu state in the trap handler,
in order to ensure that we are not preempted in the middle, which
could cause migration to another cpu.
Reviewed by: peter
Tested by: peter (alpha)
|
|
|
|
|
|
| |
acpi-ca import.
Approved by: msmith
|
|
|
|
|
|
| |
for the rcvdata() and rcvmsg() methods.
Also bring the man page up to sync with my last commit. (and this one)
|
|
|
|
|
|
|
|
|
| |
* Optimise the return path for syscalls so that they only restore a minimal
set of registers instead of performing a full exception_return.
A new flag in the trapframe indicates that the frame only holds partial
state. When it is necessary to perform a full state restore (e.g. after an
execve or signal), the flag is cleared to force a full restore.
|
|
|
|
| |
(alpha-gdbstub.c got sync'ed up a bit with the i386 version)
|
| |
|