From owner-p4-projects@FreeBSD.ORG Fri Jan 27 02:42:17 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 29EC916A424; Fri, 27 Jan 2006 02:42:17 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D352416A420 for ; Fri, 27 Jan 2006 02:42:16 +0000 (GMT) (envelope-from alc@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87D8043D45 for ; Fri, 27 Jan 2006 02:42:16 +0000 (GMT) (envelope-from alc@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k0R2gGFF067519 for ; Fri, 27 Jan 2006 02:42:16 GMT (envelope-from alc@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k0R2gG83067516 for perforce@freebsd.org; Fri, 27 Jan 2006 02:42:16 GMT (envelope-from alc@freebsd.org) Date: Fri, 27 Jan 2006 02:42:16 GMT Message-Id: <200601270242.k0R2gG83067516@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to alc@freebsd.org using -f From: Alan Cox To: Perforce Change Reviews Cc: Subject: PERFORCE change 90444 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 02:42:18 -0000 http://perforce.freebsd.org/chv.cgi?CH=90444 Change 90444 by alc@alc_home on 2006/01/27 02:42:13 Utilize the new VM_PAGE_*() macros to minimize the differences with HEAD. Affected files ... .. //depot/projects/superpages/src/sys/vm/vm_page.c#12 edit Differences ... ==== //depot/projects/superpages/src/sys/vm/vm_page.c#12 (text+ko) ==== @@ -1233,7 +1233,7 @@ if (VM_PAGE_INQUEUE2(m, PQ_INACTIVE)) return; if (m->wire_count == 0 && (m->flags & PG_UNMANAGED) == 0) { - if (m->queue == PQ_CACHE) + if (VM_PAGE_INQUEUE1(m, PQ_CACHE)) cnt.v_reactivated++; vm_page_flag_clear(m, PG_WINATCFLS); vm_pageq_remove(m);