| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
BSP and AP startup.
|
|
|
|
| |
PS_IDLESTACK_TOP
|
|
|
|
| |
pointers.
|
| |
|
|
|
|
| |
a warning if it was missing.
|
|
|
|
| |
(bogus) to something that we test for the presence of.
|
|
|
|
|
| |
These were compile-time "is the isa code present?" tests and not
'how many isa busses' tests.
|
| |
|
| |
|
|
|
|
|
| |
of 'NEISA' - userconfig.c.
While there, send some defunct code to the file history.
|
| |
|
|
|
|
|
|
|
| |
handlers and wants to exit, so it doesn't panic in exit1()
which malloc()s with M_WAITOK.
Reported by: Bob Bishop <rb@gid.co.uk>
|
|
|
|
|
|
|
|
|
|
|
| |
problem is that a mutex lock, prior to this change, is acquired before
the curproc is set to idleproc, so we mess ourselves up by calling
the mutex lock routine with curproc == NULL.
Moving it up after the aps_ready spin-wait has us hopefully setting it
after idleproc is setup.
Solved by: jake (the allmighty) :-)
|
|
|
|
|
| |
described in the MP table until something asks for the interrupt number
later on.
|
|
|
|
|
| |
You may need to turn this off if you you vinum. Apart from that I know of
no reason not to run with DEVFS.
|
|
|
|
| |
references along with the actual obtaining of additional references.
|
| |
|
|
|
|
|
| |
Increment i4b minor revision (=step) so a buildworld or a make install in
/usr/src/sys/include is necessary to get isdnd and i4b kernel parts in sync.
|
|
|
|
|
|
| |
acquiring it unconditionally.
Reviewed by: jhb
|
| |
|
|
|
|
|
| |
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.
|
| |
|