From owner-freebsd-current@FreeBSD.ORG Wed Nov 3 18:55:54 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 476E71065675; Wed, 3 Nov 2010 18:55:54 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 5E2AA8FC26; Wed, 3 Nov 2010 18:55:52 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA12924; Wed, 03 Nov 2010 20:55:42 +0200 (EET) (envelope-from avg@freebsd.org) Message-ID: <4CD1B02E.2070708@freebsd.org> Date: Wed, 03 Nov 2010 20:55:42 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.11) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.5 MIME-Version: 1.0 To: Alan Cox References: <4CA0DA49.2090006@freebsd.org> <4CA3A48A.5070300@freebsd.org> <4CA3BD1E.5070807@rice.edu> <4CA5911E.3000101@freebsd.org> <4CAE0060.7050607@freebsd.org> <4CAECC4D.90707@rice.edu> <4CD1AA45.7000504@freebsd.org> <4CD1AD80.2090903@rice.edu> In-Reply-To: <4CD1AD80.2090903@rice.edu> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Alan Cox , freebsd-current@freebsd.org Subject: Re: minidump size on amd64 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, 03 Nov 2010 18:55:54 -0000 on 03/11/2010 20:44 Alan Cox said the following: [snip] Thank you for the confirmation! > Andriy Gapon wrote: >> P.S. is there a macro for extracting frame address from PDPE? > To a lower level page table page or to a 1GB physical page? For the latter, you > can use PG_PS_FRAME. To a 1GB page. I see in the architecture manual that the lower bits are marked as MBZ, so this macro should work. Actually, it seems that even PG_FRAME should work in place of PG_PS_FRAME for exactly the same reason (MBZ) on amd64. Thank you! -- Andriy Gapon