From owner-freebsd-current@FreeBSD.ORG Wed Oct 5 12:57:44 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33CEB1065673 for ; Wed, 5 Oct 2011 12:57:44 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id ED1878FC16 for ; Wed, 5 Oct 2011 12:57:43 +0000 (UTC) Received: by qyk10 with SMTP id 10so4660256qyk.13 for ; Wed, 05 Oct 2011 05:57:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=bmv+jAEu8/ht8eKqoxUzngYQZg7yergCY9a22/sthy8=; b=ExpGg26QkqHK6qJ2sewFdKut4TvTWYMUcRCbJzzU+w8/i3mhnwkT6dJwafrhpKHL/f dXZtIXA9zearCpiYOTgmDl9F5MqRenLjnq01uk3GRQN+hctdRK3jiATyjSUoin4k2m3L 0fLVKsu+0UMxJmrZXbLbSy42oIATQA8aOS29o= MIME-Version: 1.0 Received: by 10.68.33.164 with SMTP id s4mr18496111pbi.119.1317817681959; Wed, 05 Oct 2011 05:28:01 -0700 (PDT) Received: by 10.142.187.3 with HTTP; Wed, 5 Oct 2011 05:28:01 -0700 (PDT) Date: Wed, 5 Oct 2011 14:28:01 +0200 Message-ID: From: Svatopluk Kraus To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: pmap_qenter() - the page *must* be wired - is violated X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2011 12:57:44 -0000 Hi, I found out that on a few places pmap_qenter() is called on pages which are not wired. For example, in the following functions, when vm_pager_get_pages() is called, the pages are not wired: exec_map_first_page() in sys/kern/kern_exec.c vm_fault_hold() in sys/vm/vm_fault.c vm_imgact_hold_page() in sys/vm/vm_glue.c vm_object_populate() in sys/vm/vm_object.c mdstart_swap() in sys/dev/md/md.c Is the rule violated or the rule should be changed? Svata