summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/amd64/amd64/pmap.c2
-rw-r--r--sys/i386/i386/pmap.c2
-rw-r--r--sys/ia64/ia64/pmap.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index ce1b0c7..c1f8c8b 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -1665,7 +1665,7 @@ pmap_collect(pmap_t locked_pmap, struct vpgqueues *vpq)
vm_page_t m;
TAILQ_FOREACH(m, &vpq->pl, pageq) {
- if (m->hold_count || m->busy || (m->flags & PG_BUSY))
+ if (m->hold_count || m->busy)
continue;
TAILQ_FOREACH_SAFE(pv, &m->md.pv_list, pv_list, next_pv) {
va = pv->pv_va;
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c
index 0aad254..a760978 100644
--- a/sys/i386/i386/pmap.c
+++ b/sys/i386/i386/pmap.c
@@ -1739,7 +1739,7 @@ pmap_collect(pmap_t locked_pmap, struct vpgqueues *vpq)
sched_pin();
TAILQ_FOREACH(m, &vpq->pl, pageq) {
- if (m->hold_count || m->busy || (m->flags & PG_BUSY))
+ if (m->hold_count || m->busy)
continue;
TAILQ_FOREACH_SAFE(pv, &m->md.pv_list, pv_list, next_pv) {
va = pv->pv_va;
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c
index e6b09ad..37fe800 100644
--- a/sys/ia64/ia64/pmap.c
+++ b/sys/ia64/ia64/pmap.c
@@ -831,7 +831,7 @@ get_pv_entry(pmap_t locked_pmap)
vpq = &vm_page_queues[PQ_INACTIVE];
retry:
TAILQ_FOREACH(m, &vpq->pl, pageq) {
- if (m->hold_count || m->busy || (m->flags & PG_BUSY))
+ if (m->hold_count || m->busy)
continue;
TAILQ_FOREACH_SAFE(pv, &m->md.pv_list, pv_list, next_pv) {
va = pv->pv_va;
OpenPOWER on IntegriCloud