| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
DEBUG_ALL_VFS_LOCKS.
|
|
|
|
|
| |
vm_map_check_protection().
o Call vm_map_check_protection() without Giant held in munmap().
|
|
|
|
| |
via the default entry and the default vop vector.
|
|
|
|
| |
Reviewed by: phk
|
|
|
|
|
| |
Submitted by: Martin Faxér <gmh003532@brfmasthugget.se>
MFC after: 4 weeks
|
|
|
|
| |
Submitted by: phk
|
|
|
|
| |
Various minor style fixes from BDE.
|
|
|
|
| |
reversal.
|
|
|
|
|
|
|
| |
put then in the ufs_vnops where they belong, rather than in the ffs_vnops.
Ok'ed by: rwatson
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
across malloc(9) and free(9) of a pgrp or a session.
|
| |
|
|
|
|
| |
funsetownlst() by locking the sigio lock across funsetownlst().
|
|
|
|
| |
a 64-bit integral.
|
|
|
|
|
|
| |
problems when enumerating multiple arrays.
This is an MFC candidate.
|
|
|
|
|
|
|
|
| |
revision 1.94
date: 2001/12/30 20:26:59; author: augustss; state: Exp; lines: +5 -2
Make sure we don't have any pending softintrs when entering polling mode.
Thanks to Darrin for finding and fixing this problem when using USB
keyboards in DDB.
|
| |
|
|
|
|
|
| |
Submitted by: peter
MFC after: 3 days
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This leaves some vestiges of the old locking, including style
bugs in it. I've only noticed anachronisms in socketvar.h so far
(I've merged net* but not kern or all of sys). The patch also
has old fixes for style bugs in accf stuff and namespace pollution
in uma... The largest style bugs are line continued backslashes
in column 80 and (these are fixed), and starting the do-while
code for the new macros in column 40, which is quite unlike the
usual indentation (see sys/queue.h) and not even like the indentation
for the old macros (column 32) (this is not fixed).
Submitted by: bde
|
|
|
|
|
|
| |
Run make world (or recompile whatever program whines) to get rid of warning.
Compat bits will be removed entirely in about two weeks.
|
|
|
|
| |
Reviewed by: phk
|
|
|
|
| |
Reviewed by: des (some time ago), phk
|
|
|
|
| |
Reviewed by: phk
|
|
|
|
|
|
| |
referenced through the VOP_DEFAULT vector
Submitted by: phk
|
|
|
|
|
| |
drivers for simular hardware are i386-specific. That is why I did not
find the information here.
|
| |
|
| |
|
|
|
|
|
| |
exclusively. The interface still, however, distinguishes
between a shared lock and an exclusive lock.
|
|
|
|
| |
Smaller script, smaller (though equivalent) output.
|
|
|
|
| |
Submitted by: dirkx@covalent.net
|
|
|
|
|
|
|
|
|
| |
- Reorder fork1() to do malloc() and other blocking operations prior to
acquiring the needed process locks.
- The new process inherit's the credentials of curthread, not the
credentials of the old process.
- Document a really weird race that will come up with KSE allows multiple
kernel threads per process.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
exit1() we don't have to release it until we acquire schd_lock to
call cpu_throw().
- Since we can switch at any time due to preemption or a lock release
prior to acquiring sched_lock, don't update switchtime and switchticks
until the very end of exit1() after we have acquired sched_lock.
- Interlock the proctree_lock and proc lock in wait1() and exit1() to
avoid lost wakeups when a parent blocks waiting for a child to exit at
the bottom of wait1(). In exit1() the proc lock interlocked with
proctree_lock (and released after acquiring sched_lock) is that of
the parent process.
- In wait1() use an exclusive lock of proctree lock while we are
looking for a process to harvest. This allows us to completely
remove all references to the process once we've found one (i.e.,
disconnect it from pgrp's, session's, zombproc list, and it's parent's
children list) "atomically" without needing to worry about a lock
upgrade.
- We don't need sched_lock to test if p_stat is SZOMB or SSTOP when holding
the proc lock since the proc lock is always held with p_stat is set to
SZOMB or SSTOP.
- Protect nprocs with an xlock of the allproc_lock.
|
|
|
|
|
|
|
|
| |
locks the process.
- Defer other blocking operations such as vrele()'s until after we
release locks.
- execsigs() now requires the proc lock to be held when it is called
rather than locking the process internally.
|
|
|
|
|
| |
this memory is modified after it has been freed we can now report it's
previous owner.
|
|
|
|
|
| |
weird potential race if we were preempted right as we were doing the dbg
checks.
|
| |
|
|
|
|
|
|
|
| |
- Changed uma_zcreate to accept the size argument as a size_t intead of
int.
Approved by: jeff
|
|
|
|
|
|
|
|
|
|
| |
Atm_connection items.
- Replaced the Atm_connvc storage pool with an uma_zone of Atm_connvc
items.
- Created void atm_cm_init(void *) and added it to the netatm init code.
I'm thinking that there will definetly be more ``subsystem'' init
functions to be added so I'll probably change these calls to be a for
loop through init routines (or something).
|
|
|
|
|
|
|
| |
mallochash. Mallochash is going to go away as soon as I introduce the
kfree/kmalloc api and partially overhaul the malloc wrapper. This can't happen
until all users of the malloc api that expect memory to be aligned on the size
of the allocation are fixed.
|
| |
|
| |
|
|
|
|
| |
do it again.
|
|
|
|
| |
block number. This fixes things like cp (ouch!) which use mmap.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Implement the following checks on freed memory in the bucket path:
- Slab membership
- Alignment
- Duplicate free
This previously was only done if we skipped the buckets. This code will slow
down INVARIANTS a bit, but it is smp safe. The checks were moved out of the
normal path and into hooks supplied in uma_dbg.
|
| |
|
| |
|
|
|
|
| |
updating the sysctl tree and clearing the SAL state by a spin lock.
|