Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm/pmap Use pageq.list instead of listq.list.



details:   https://anonhg.NetBSD.org/src/rev/979770d9d96e
branches:  trunk
changeset: 847185:979770d9d96e
user:      ad <ad%NetBSD.org@localhost>
date:      Sat Dec 14 14:46:11 2019 +0000

description:
Use pageq.list instead of listq.list.

diffstat:

 sys/uvm/pmap/pmap_segtab.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 65eb62667fef -r 979770d9d96e sys/uvm/pmap/pmap_segtab.c
--- a/sys/uvm/pmap/pmap_segtab.c        Sat Dec 14 14:43:38 2019 +0000
+++ b/sys/uvm/pmap/pmap_segtab.c        Sat Dec 14 14:46:11 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_segtab.c,v 1.11 2019/10/20 07:22:51 skrll Exp $   */
+/*     $NetBSD: pmap_segtab.c,v 1.12 2019/12/14 14:46:11 ad Exp $      */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap_segtab.c,v 1.11 2019/10/20 07:22:51 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_segtab.c,v 1.12 2019/12/14 14:46:11 ad Exp $");
 
 /*
  *     Manages physical address maps.
@@ -247,7 +247,7 @@
                struct vm_page *pg = PHYS_TO_VM_PAGE(pa);
 #ifdef PMAP_PTP_CACHE
                mutex_spin_enter(&pmap_segtab_lock);
-               LIST_INSERT_HEAD(&pmap_segtab_info.ptp_pgflist, pg, listq.list);
+               LIST_INSERT_HEAD(&pmap_segtab_info.ptp_pgflist, pg, pageq.list);
                mutex_spin_exit(&pmap_segtab_lock);
 #else
                uvm_pagefree(pg);
@@ -457,7 +457,7 @@
 #ifdef PMAP_PTP_CACHE
                mutex_spin_enter(&pmap_segtab_lock);
                if ((pg = LIST_FIRST(&pmap_segtab_info.ptp_pgflist)) != NULL) {
-                       LIST_REMOVE(pg, listq.list);
+                       LIST_REMOVE(pg, pageq.list);
                        KASSERT(LIST_FIRST(&pmap_segtab_info.ptp_pgflist) != pg);
                }
                mutex_spin_exit(&pmap_segtab_lock);
@@ -485,7 +485,7 @@
 #ifdef PMAP_PTP_CACHE
                        mutex_spin_enter(&pmap_segtab_lock);
                        LIST_INSERT_HEAD(&pmap_segtab_info.ptp_pgflist,
-                           pg, listq.list);
+                           pg, pageq.list);
                        mutex_spin_exit(&pmap_segtab_lock);
 #else
                        PMAP_UNMAP_POOLPAGE((vaddr_t)pte);



Home | Main Index | Thread Index | Old Index