| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Answers many questions I have recieved and has a short description of what
the driver actually does.
|
| |
|
|
|
|
|
|
|
| |
instead of a trapframe directly. (Requested by bde.)
- Convert the alpha switch_trampoline to call fork_exit() and use the MI
fork_return() instead of child_return().
- Axe child_return().
|
| |
|
| |
|
| |
|
|
|
|
| |
- Remove #if 0'd lazy interrupt mask.
|
| |
|
|
|
|
|
| |
- P_OWEUPC -> PS_OWEUPC.
- Remove obsolete prototype for MD fork_return().
|
|
|
|
| |
- Add fork_exit.
|
|
|
|
| |
the rest of the trapframe instead of doing it in fork_return().
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that name as a variable. Use mtx_owned(&Giant) where appropriate
instead.
- Proc locking.
- P_FOO -> PS_FOO.
- Update comments about enable interrupts during trap and why this may be
bad if we trap while holding a spin mutex.
- Don't bother resetting p to curproc in syscall() in case we are the child
returning from fork. The child hasn't returned from fork through syscall
in a while.
- Remove fork_return() as it has been superseded by the MI version.
|
|
|
|
| |
- P_INMEM -> PS_INMEM.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the alpha mp_machdep.c.
- Proc locking.
- Catch up to the P_FOO -> PS_FOO proc flags changes.
- Stick ap_init()'s prototype with the other prototypes.
- Remove the Xforwardirq IPI.
- Remove unused simplelocks.
- Don't try to psignal() from forward_statclock(), but set the appropriate
signal pending flag in p_sflag instead.
- Add in KTR_SMP tracepoints for various SMP functions. (Brought over
from the alpha port)
|
|
|
|
|
|
|
| |
- Setup proc0.p_heldmtx, proc0.contested, and curproc earlier so that we
can use mutexes.
- Initialize sched_lock and Giant earlier and enter Giant during init386.
- Use suser(9) instead of checking cr_uid directly.
|
|
|
|
| |
return.
|
| |
|
|
|
|
|
| |
- Use FreeBSD stackgap_init() semantics.
- Adjust some #ifdef's to hide unused variables.
|
|
|
|
| |
- Use NULL instead of 0.
|
| |
|
|
|
|
| |
to silence cast-qual warnings.
|
| |
|
| |
|
|
|
|
|
| |
other image activators use.
- Proc locking.
|
|
|
|
|
|
|
|
|
|
|
| |
inline functions non-inlined. Hide parts of the mutex implementation that
should not be exposed.
Make sure that WITNESS code is not executed during boot until the mutexes
are fully initialized by SI_SUB_MUTEX (the original motivation for this
commit).
Submitted by: peter
|
|
|
|
|
|
|
| |
- have zalloc() and zfree() always lock the vm_zone.
- remove zalloci() and zfreei(), which are now redundant.
Reviewed by: bmilekic, jasone
|
|
|
|
|
|
|
|
| |
interrupt threads to run with it always >= 1, so that malloc can
detect M_WAITOK from "interrupt" context. This is also necessary
in order to context switch from sched_ithd() directly.
Reviewed By: peter
|
|
|
|
| |
Remove some leftovers of removed SMP options.
|
|
|
|
|
|
|
|
| |
initialization until after malloc() is safe to call, then iterate through
all mutexes and complete their initialization.
This change is necessary in order to avoid some circular bootstrapping
dependencies.
|
| |
|
|
|
|
|
|
| |
for SMP; just use the same ones as UP. These weren't used without
holding Giant anyway, and the routines that use them would have to
be protected from pre-emption to avoid migrating cpus.
|
|
|
|
|
|
| |
pre-emptable kernel. For variables of size 4 bytes or less they compile
to a single instruction, which does not allow a process to migrate cpus
in the middle, and get the value for the "wrong" cpu.
|
|
|
|
|
| |
Apologies to Bruce for not yet cleaning it up in sections. Coming
soon.
|
|
|
|
| |
with the flag of the same name.
|
|
|
|
|
|
| |
appropriate function, rather than doing a horse-and-buggy
acquire. They now take the mutex type as an arg and can be
used with sleep as well as spin mutexes.
|
|
|
|
|
|
| |
function itself.
- Remove a hack to allow acquiring Giant from the npx asm trap
vector.
|
| |
|
| |
|
|
|
|
| |
other cruft from the files.alpha and files.ia64 that were related to this.
|
| |
|
| |
|
|
|
|
|
| |
#include "npx.h" - the code has been dead for a while and vm86 calls
have not been saving FPU context it seems.
|
|
|
|
|
| |
two drivers that depend on it - ie and le. The compat code has not been
disabled.
|
| |
|
|
|
|
| |
so that '&' becomes a binary operator and not a unary operator.
|
| |
|
| |
|
| |
|
|
|
|
| |
and int $0x80 entry methods.
|
| |
|