diff options
author | dt <dt@FreeBSD.org> | 1999-06-08 17:14:22 +0000 |
---|---|---|
committer | dt <dt@FreeBSD.org> | 1999-06-08 17:14:22 +0000 |
commit | 024e4a4a7ec29c151e7c6aa0cf7047eb5e9035aa (patch) | |
tree | f6cb1a69e9dc0eeaa2a9b73d50bb4eaf20285f45 /sys | |
parent | 309c487efd7aaa6300e27a2fedac55d365d7a5a7 (diff) | |
download | FreeBSD-src-024e4a4a7ec29c151e7c6aa0cf7047eb5e9035aa.zip FreeBSD-src-024e4a4a7ec29c151e7c6aa0cf7047eb5e9035aa.tar.gz |
Use kmem_alloc_nofault() rather than kmem_alloc_pageable() to allocate
kernel virtual address space for UPAGES.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/alpha/alpha/pmap.c | 4 | ||||
-rw-r--r-- | sys/amd64/amd64/pmap.c | 4 | ||||
-rw-r--r-- | sys/i386/i386/pmap.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/alpha/alpha/pmap.c b/sys/alpha/alpha/pmap.c index 969717d5..3bfa234 100644 --- a/sys/alpha/alpha/pmap.c +++ b/sys/alpha/alpha/pmap.c @@ -43,7 +43,7 @@ * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 * from: i386 Id: pmap.c,v 1.193 1998/04/19 15:22:48 bde Exp * with some ideas from NetBSD's alpha pmap - * $Id: pmap.c,v 1.23 1999/05/11 18:59:56 dt Exp $ + * $Id: pmap.c,v 1.24 1999/05/28 05:38:47 alc Exp $ */ /* @@ -970,7 +970,7 @@ pmap_new_proc(struct proc *p) /* get a kernel virtual address for the UPAGES for this proc */ if ((up = p->p_addr) == NULL) { - up = (struct user *) kmem_alloc_pageable(kernel_map, + up = (struct user *) kmem_alloc_nofault(kernel_map, UPAGES * PAGE_SIZE); #if !defined(MAX_PERF) if (up == NULL) diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 4260c1c..f961651 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.237 1999/06/01 18:19:44 jlemon Exp $ + * $Id: pmap.c,v 1.238 1999/06/05 16:16:37 luoqi Exp $ */ /* @@ -908,7 +908,7 @@ pmap_new_proc(p) /* get a kernel virtual address for the UPAGES for this proc */ if ((up = p->p_addr) == NULL) { - up = (struct user *) kmem_alloc_pageable(kernel_map, + up = (struct user *) kmem_alloc_nofault(kernel_map, UPAGES * PAGE_SIZE); #if !defined(MAX_PERF) if (up == NULL) diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 4260c1c..f961651 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.237 1999/06/01 18:19:44 jlemon Exp $ + * $Id: pmap.c,v 1.238 1999/06/05 16:16:37 luoqi Exp $ */ /* @@ -908,7 +908,7 @@ pmap_new_proc(p) /* get a kernel virtual address for the UPAGES for this proc */ if ((up = p->p_addr) == NULL) { - up = (struct user *) kmem_alloc_pageable(kernel_map, + up = (struct user *) kmem_alloc_nofault(kernel_map, UPAGES * PAGE_SIZE); #if !defined(MAX_PERF) if (up == NULL) |