diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-06-05 11:03:06 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-06-05 11:03:06 +0000 |
commit | a9373777186bac0acc8148d4108429a9fc82c3c7 (patch) | |
tree | 42ea358aca2501d0078055c9026a71cb55ab667c /sys/arch/sparc/include | |
parent | 7f0672f1404b8202f54f66098bec7fd4b3e6725b (diff) |
Changes to exit handling.
cpu_exit no longer frees the vmspace and u-area. This is now handled by a
separate kernel thread "reaper". This is to avoid sleeping locks in the
critical path of cpu_exit where we're not allowed to sleep.
From NetBSD
Diffstat (limited to 'sys/arch/sparc/include')
-rw-r--r-- | sys/arch/sparc/include/cpu.h | 4 | ||||
-rw-r--r-- | sys/arch/sparc/include/pmap.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc/include/cpu.h b/sys/arch/sparc/include/cpu.h index c510fb680d1..b0268a2c0ce 100644 --- a/sys/arch/sparc/include/cpu.h +++ b/sys/arch/sparc/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.9 2000/05/18 13:31:12 jason Exp $ */ +/* $OpenBSD: cpu.h,v 1.10 2000/06/05 11:02:52 art Exp $ */ /* $NetBSD: cpu.h,v 1.24 1997/03/15 22:25:15 pk Exp $ */ /* @@ -75,7 +75,7 @@ */ #define cpu_swapin(p) /* nothing */ #define cpu_swapout(p) /* nothing */ -#define cpu_wait(p) /* nothing */ +#define cpu_wait(p) /* nothing */ /* * Arguments to hardclock, softclock and gatherstats encapsulate the diff --git a/sys/arch/sparc/include/pmap.h b/sys/arch/sparc/include/pmap.h index 12cc90be105..ef9f26ee2cb 100644 --- a/sys/arch/sparc/include/pmap.h +++ b/sys/arch/sparc/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.15 1999/12/09 21:35:28 art Exp $ */ +/* $OpenBSD: pmap.h,v 1.16 2000/06/05 11:02:52 art Exp $ */ /* $NetBSD: pmap.h,v 1.30 1997/08/04 20:00:47 pk Exp $ */ /* @@ -310,7 +310,7 @@ void kvm_setcache __P((caddr_t, int, int)); #define kvm_recache(addr, npages) kvm_setcache(addr, npages, 1) void pmap_cache_enable __P((void)); struct user; -void switchexit __P((vm_map_t, struct user *, int)); +void switchexit __P((struct proc *)); int mmu_pagein __P((struct pmap *pm, vaddr_t, int)); void pmap_writetext __P((unsigned char *, int)); |