diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-02-08 23:49:21 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-02-08 23:49:21 +0000 |
commit | 94b5d4c3cff7d3d41ed3d41cb40aee72b9d0115b (patch) | |
tree | 276430b7b4ea206dfbaa0ddaebf34b693b14f3cf /sys/arch/powerpc | |
parent | 7c0743ee268fa42e538f91fad4e8eeaf1b25b123 (diff) |
Do not bzero() the available memory in pmap_bootstrap(); allocations in
pmap_bootstrap explicitely bzero them, and there is no need to clear the
remaining memory.
ok mpi@
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/powerpc/pmap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/powerpc/powerpc/pmap.c b/sys/arch/powerpc/powerpc/pmap.c index e6a84ac7bff..f8165ff928f 100644 --- a/sys/arch/powerpc/powerpc/pmap.c +++ b/sys/arch/powerpc/powerpc/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.123 2014/02/08 13:17:40 miod Exp $ */ +/* $OpenBSD: pmap.c,v 1.124 2014/02/08 23:49:20 miod Exp $ */ /* * Copyright (c) 2001, 2002, 2007 Dale Rahn. @@ -1651,9 +1651,11 @@ pmap_bootstrap(u_int kernelstart, u_int kernelend) msgbuf_addr = pmap_steal_avail(MSGBUFSIZE,4); +#ifdef DEBUG for (mp = pmap_avail; mp->size; mp++) { bzero((void *)mp->start, mp->size); } +#endif #define HTABENTS_32 1024 #define HTABENTS_64 2048 |