diff options
| author | Tor Egge <tegge@FreeBSD.org> | 1998-05-19 00:06:35 +0000 |
|---|---|---|
| committer | Tor Egge <tegge@FreeBSD.org> | 1998-05-19 00:06:35 +0000 |
| commit | 12d311d02efb282a4c1702dea27c099c07d97b1d (patch) | |
| tree | 746ff47e7a1401e087405bd29236d3a7b1f239e4 /sys | |
| parent | afc6ea238fca8459050ec15d5d897354e1d0435a (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/amd64/amd64/pmap.c | 7 | ||||
| -rw-r--r-- | sys/i386/i386/pmap.c | 7 |
2 files changed, 4 insertions, 10 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index dbd22bb333665..48c7baf5844eb 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 - * $Id: pmap.c,v 1.198 1998/05/17 17:43:13 tegge Exp $ + * $Id: pmap.c,v 1.199 1998/05/17 18:53:14 tegge Exp $ */ /* @@ -983,11 +983,8 @@ pmap_new_proc(p) /* * Get a kernel stack page */ - m = vm_page_grab(upobj, i, VM_ALLOC_ZERO | VM_ALLOC_RETRY); + m = vm_page_grab(upobj, i, VM_ALLOC_NORMAL | VM_ALLOC_RETRY); - if ((m->flags & PG_ZERO) == 0) - vm_page_zero_fill(m); - /* * Wire the page */ diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index dbd22bb333665..48c7baf5844eb 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 - * $Id: pmap.c,v 1.198 1998/05/17 17:43:13 tegge Exp $ + * $Id: pmap.c,v 1.199 1998/05/17 18:53:14 tegge Exp $ */ /* @@ -983,11 +983,8 @@ pmap_new_proc(p) /* * Get a kernel stack page */ - m = vm_page_grab(upobj, i, VM_ALLOC_ZERO | VM_ALLOC_RETRY); + m = vm_page_grab(upobj, i, VM_ALLOC_NORMAL | VM_ALLOC_RETRY); - if ((m->flags & PG_ZERO) == 0) - vm_page_zero_fill(m); - /* * Wire the page */ |
