From owner-freebsd-current@FreeBSD.ORG Tue Mar 30 18:29:07 2010 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 31BCE106564A for ; Tue, 30 Mar 2010 18:29:07 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id B872A8FC0A for ; Tue, 30 Mar 2010 18:29:06 +0000 (UTC) Received: by ewy24 with SMTP id 24so2127275ewy.33 for ; Tue, 30 Mar 2010 11:29:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=U1Qzxlws15q4/q1KjvTu6WzNbxZtMNpu6Ki2aT0LxOM=; b=mZ+7ufZhPdVX26UcJrM92u/zYe/it9H8U1sO/MToCNSMXTO7MPqPriFNIDQGaoVAxo FJreIxXIyNlWkMIV6AqFrIRJ2VBDiEPIBZ4Y8Hn5KOol74vWoqyxnULxg8njL9RnG+zv OqROr+nciJYQP4fJ+2UOlMx2fCA/Kt0gObwQQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=WP0VUXKh3yiUvxb4DA2nsnA84+yEKPZfhQle6iIXyUWsMuNFUe53m+dWSr8bsB3wEG cdaYbDDftx9EIJOPv9IjIQy059/uE67M8tRWQeYHlSQ8g/sG76nTYjCda5AfJP/dz/lq 93vHJNSoueSsUR9TKNImYTODge1+e1jDdCLpY= MIME-Version: 1.0 Received: by 10.213.9.20 with HTTP; Tue, 30 Mar 2010 11:29:04 -0700 (PDT) In-Reply-To: <745921.1949.qm@web65613.mail.ac4.yahoo.com> References: <745921.1949.qm@web65613.mail.ac4.yahoo.com> Date: Tue, 30 Mar 2010 14:29:04 -0400 Received: by 10.213.48.13 with SMTP id p13mr2914155ebf.18.1269973745021; Tue, 30 Mar 2010 11:29:05 -0700 (PDT) Message-ID: From: Ryan Stone To: "Dr. Baud" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: pmap_extract question 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: Tue, 30 Mar 2010 18:29:07 -0000 Assuming that you're using the right pmap(it looks like you are, but it depends on the thread context in which you're running), that will only work if the userland application has touched the page and faulted it in. If it's never tried to access the page it will never be mapped into the process's page tables.