From owner-p4-projects@FreeBSD.ORG Fri Jun 23 03:12:49 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 D093F16A49E; Fri, 23 Jun 2006 03:12:48 +0000 (UTC) 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 94B3716A482 for ; Fri, 23 Jun 2006 03:12:48 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66BC143D49 for ; Fri, 23 Jun 2006 03:12:48 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k5N3CmFk044947 for ; Fri, 23 Jun 2006 03:12:48 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k5N3ClgW044944 for perforce@freebsd.org; Fri, 23 Jun 2006 03:12:47 GMT (envelope-from jhb@freebsd.org) Date: Fri, 23 Jun 2006 03:12:47 GMT Message-Id: <200606230312.k5N3ClgW044944@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Cc: Subject: PERFORCE change 99847 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, 23 Jun 2006 03:12:49 -0000 http://perforce.freebsd.org/chv.cgi?CH=99847 Change 99847 by jhb@jhb_mutex on 2006/06/23 03:12:40 Oops, remember to skip to the next page if a page is blacklisted. Affected files ... .. //depot/projects/smpng/sys/vm/vm_page.c#77 edit Differences ... ==== //depot/projects/smpng/sys/vm/vm_page.c#77 (text+ko) ==== @@ -339,13 +339,11 @@ last_pa = phys_avail[i + 1]; while (pa < last_pa && npages-- > 0) { if (list != NULL && - vm_page_blacklist_lookup(list, pa)) { + vm_page_blacklist_lookup(list, pa)) printf("Skipping page with pa 0x%jx\n", (uintmax_t)pa); - - continue; - } - vm_pageq_add_new_page(pa); + else + vm_pageq_add_new_page(pa); pa += PAGE_SIZE; } }