diff options
author | Jake Burkholder <jake@FreeBSD.org> | 2002-06-24 15:48:02 +0000 |
---|---|---|
committer | Jake Burkholder <jake@FreeBSD.org> | 2002-06-24 15:48:02 +0000 |
commit | 8ba3d077ff91f0713694522078eb6846fe18257b (patch) | |
tree | 1a54d6235cda96b2ca3034521ce9b0b528207189 /sys/ia64 | |
parent | 9ce4f543419c138e30ac5d2302380551ea26d1fb (diff) | |
download | src-8ba3d077ff91f0713694522078eb6846fe18257b.tar.gz src-8ba3d077ff91f0713694522078eb6846fe18257b.zip |
Add an MD callout like cpu_exit, but which is called after sched_lock is
obtained, when all other scheduling activity is suspended. This is needed
on sparc64 to deactivate the vmspace of the exiting process on all cpus.
Otherwise if another unrelated process gets the exact same vmspace structure
allocated to it (same address), its address space will not be activated
properly. This seems to fix some spontaneous signal 11 problems with smp
on sparc64.
Notes
Notes:
svn path=/head/; revision=98765
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/vm_machdep.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/ia64/ia64/vm_machdep.c b/sys/ia64/ia64/vm_machdep.c index 7a5c327da3f7..24ea100c8d3a 100644 --- a/sys/ia64/ia64/vm_machdep.c +++ b/sys/ia64/ia64/vm_machdep.c @@ -314,6 +314,12 @@ cpu_exit(td) } void +cpu_sched_exit(td) + register struct thread *td; +{ +} + +void cpu_wait(p) struct proc *p; { |