diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-09-10 22:25:47 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-09-10 22:25:47 +0000 |
commit | 6e84ad843931b38eb2d472077734d6a52216110a (patch) | |
tree | 21a650be20acacf1054a79827eccfd22d9848b1d /sys | |
parent | a713ce56dfd81a267da9eea5bf9f29fb4eb32885 (diff) |
comment out a bit of unused code now
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa/hppa/pmap.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/pmap.c b/sys/arch/hppa/hppa/pmap.c index ce5b70accd2..90741f90f51 100644 --- a/sys/arch/hppa/hppa/pmap.c +++ b/sys/arch/hppa/hppa/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.82 2002/09/10 18:29:43 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.83 2002/09/10 22:25:46 mickey Exp $ */ /* * Copyright (c) 1998-2002 Michael Shalayeff @@ -855,14 +855,16 @@ pmap_remove(pmap, sva, eva) simple_lock(&pmap->pm_obj.vmobjlock); - for (pdemask = sva + 1; sva < eva; sva += PAGE_SIZE) { + for (batch = 0, pdemask = sva + 1; sva < eva; sva += PAGE_SIZE) { if (pdemask != (sva & PDE_MASK)) { pdemask = sva & PDE_MASK; if (!(pde = pmap_pde_get(pmap->pm_pdir, sva))) { sva += ~PDE_MASK + 1 - PAGE_SIZE; continue; } + /* XXX not until ptp acct works batch = pdemask == sva && sva + ~PDE_MASK + 1 < eva; + */ } if ((pte = pmap_pte_get(pde, sva))) { |