diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-01-28 06:02:58 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-01-28 06:02:58 +0000 |
commit | 3a63d47a03bcbb30b52276097127c477705d352b (patch) | |
tree | 92f2569ab49930b000f9ec9a09c585786007861a | |
parent | 1950912fb046c797f6243ddba520a337bc71078e (diff) |
malloc/free is not really used for pvs allocs
-rw-r--r-- | sys/arch/hppa/hppa/pmap.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/pmap.c b/sys/arch/hppa/hppa/pmap.c index 1554cf337e7..90d80fb9573 100644 --- a/sys/arch/hppa/hppa/pmap.c +++ b/sys/arch/hppa/hppa/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.52 2001/12/22 00:20:04 mickey Exp $ */ +/* $OpenBSD: pmap.c,v 1.53 2002/01/28 06:02:57 mickey Exp $ */ /* * Copyright (c) 1998-2001 Michael Shalayeff @@ -418,9 +418,13 @@ pmap_free_pv(struct pv_entry *pv) break; case NPVPPG: if (!pvp->pvp_flag) { +#ifdef notyet pv_nfree -= NPVPPG - 1; TAILQ_REMOVE(&pv_page_freelist, pvp, pvp_list); FREE((vaddr_t) pvp, M_VMPVENT); +#else + panic("pmap_free_pv: mallocated pv page"); +#endif } break; } |