Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86_64/x86_64 Previous commit left a piece of old c...



details:   https://anonhg.NetBSD.org/src/rev/30a9c4d2e731
branches:  trunk
changeset: 533630:30a9c4d2e731
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Fri Jul 05 16:52:39 2002 +0000

description:
Previous commit left a piece of old code in that would leak top-level
PTPs; remove it.

diffstat:

 sys/arch/x86_64/x86_64/pmap.c |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (21 lines):

diff -r b100abce4fb2 -r 30a9c4d2e731 sys/arch/x86_64/x86_64/pmap.c
--- a/sys/arch/x86_64/x86_64/pmap.c     Fri Jul 05 15:49:11 2002 +0000
+++ b/sys/arch/x86_64/x86_64/pmap.c     Fri Jul 05 16:52:39 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.8 2002/07/04 10:38:26 fvdl Exp $    */
+/*     $NetBSD: pmap.c,v 1.9 2002/07/05 16:52:39 fvdl Exp $    */
 
 /*
  *
@@ -1770,11 +1770,6 @@
                goto try_again;
        }
 
-       /* XXX Need a generic "I want memory" wchan */
-       while ((pmap->pm_pdir =
-           pool_cache_get(&pmap_pdp_cache, PR_NOWAIT)) == NULL)
-               (void) ltsleep(&lbolt, PVM, "pmapcr", hz >> 3, &pmaps_lock);
-
        pmap->pm_pdirpa = pmap->pm_pdir[PDIR_SLOT_PTE] & PG_FRAME;
 
        LIST_INSERT_HEAD(&pmaps, pmap, pm_list);



Home | Main Index | Thread Index | Old Index