freebsd-dev/sys/powerpc/aim
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
..
clock.c Fix comment breakage. 2001-06-27 12:20:48 +00:00
locore.S Fix comment breakage. 2001-06-27 12:20:48 +00:00
machdep.c Zap 'ptrace(PT_READ_U, ...)' and 'ptrace(PT_WRITE_U, ...)' since they 2001-08-08 05:25:15 +00:00
mmu_oea.c Make PMAP_SHPGPERPROC tunable. One shouldn't need to recompile a kernel 2001-07-27 01:08:59 +00:00
ofw_machdep.c Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
ofwmagic.S Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
swtch.S Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
trap.c - Close races with signals and other AST's being triggered while we are in 2001-08-10 22:53:32 +00:00
vm_machdep.c Move vm_page_zero_idle() from machine-dependant sections to a 2001-07-05 01:32:42 +00:00