freebsd-skq/sys/powerpc/include
John Baldwin 688ebe120c - Close races with signals and other AST's being triggered while we are in
the process of exiting the kernel.  The ast() function now loops as long
  as the PS_ASTPENDING or PS_NEEDRESCHED flags are set.  It returns with
  preemption disabled so that any further AST's that arrive via an
  interrupt will be delayed until the low-level MD code returns to user
  mode.
- Use u_int's to store the tick counts for profiling purposes so that we
  do not need sched_lock just to read p_sticks.  This also closes a
  problem where the call to addupc_task() could screw up the arithmetic
  due to non-atomic reads of p_sticks.
- Axe need_proftick(), aston(), astoff(), astpending(), need_resched(),
  clear_resched(), and resched_wanted() in favor of direct bit operations
  on p_sflag.
- Fix up locking with sched_lock some.  In addupc_intr(), use sched_lock
  to ensure pr_addr and pr_ticks are updated atomically with setting
  PS_OWEUPC.  In ast() we clear pr_ticks atomically with clearing
  PS_OWEUPC.  We also do not grab the lock just to test a flag.
- Simplify the handling of Giant in ast() slightly.

Reviewed by:	bde (mostly)
2001-08-10 22:53:32 +00:00
..
_limits.h
ansi.h
asm.h
atomic.h
bat.h
bootinfo.h
bus.h
clock.h
cpu.h - Close races with signals and other AST's being triggered while we are in 2001-08-10 22:53:32 +00:00
cpufunc.h
db_machdep.h
elf.h Use a machine dependent type, Elf_Hashelt, for the elements of the elf 2001-07-31 03:46:39 +00:00
endian.h
exec.h
fpu.h
frame.h
globaldata.h Axe unused and invalid astpending globaldata member. 2001-08-04 20:47:54 +00:00
globals.h
intr.h
ipl.h
limits.h
md_var.h
mutex.h
openpicreg.h Register definitions for the OpenPIC used in various models of 2001-07-01 02:43:38 +00:00
param.h
pcb.h
pcpu.h Axe unused and invalid astpending globaldata member. 2001-08-04 20:47:54 +00:00
pio.h
pmap.h
powerpc.h
proc.h Add a new MI pointer to the process' trapframe p_frame instead of using 2001-06-29 11:10:41 +00:00
psl.h
pte.h
ptrace.h Zap 'ptrace(PT_READ_U, ...)' and 'ptrace(PT_WRITE_U, ...)' since they 2001-08-08 05:25:15 +00:00
reg.h
reloc.h
resource.h
setjmp.h
sigframe.h
signal.h
smp.h
stdarg.h
trap.h
types.h
ucontext.h
varargs.h
vmparam.h