From owner-freebsd-current@FreeBSD.ORG Tue Jan 22 04:50:01 2008 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 CF60116A417 for ; Tue, 22 Jan 2008 04:50:01 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.freebsd.org (Postfix) with ESMTP id 8EC1813C455 for ; Tue, 22 Jan 2008 04:50:01 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 36DC18CDE0; Mon, 21 Jan 2008 23:50:01 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 21 Jan 2008 23:50:01 -0500 X-Sasl-enc: fvaAqb7siYzK6edq9aLOlglrUiUc/qhHBAnmBgDPfqeb 1200977400 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id C47F5209D7; Mon, 21 Jan 2008 23:50:00 -0500 (EST) Message-ID: <479575F7.80605@incunabulum.net> Date: Tue, 22 Jan 2008 04:49:59 +0000 From: Bruce M Simpson User-Agent: Thunderbird 2.0.0.6 (X11/20070928) MIME-Version: 1.0 To: pluknet References: <478B89F6.1010703@incunabulum.net> <479012F5.9050408@incunabulum.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current Subject: Re: exmap port - shared memory profiler 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, 22 Jan 2008 04:50:01 -0000 pluknet wrote: > I've slightly cleared exmap port to more working state. Now it > compiles (with also patched sysutils/pmap) and all binaries from this > port works (including gtk tool) on 7.0 (still not tested on 6.x and > HEAD). > Thanks for the help! I almost have it running on 6.3-RELEASE with these changes. I haven't tested with -CURRENT. Now it crashes due to finding some kind of inconsistency in the page map it has learned. Compiling with -O0 and then examining the core file suggests it's creating the FbsdSysInfo instance again. Exmap is still tied to being able to reach into Linux and grab physical page maps. I think the best way forward may be to adapt the pmap_helper.ko module and extend it to return the result of its call to pmap_extract(), rather than faking 'page cookies' as I have currently patched Exmap to do. There's no way for it to learn precisely which pages are mapped and resident for the same reason, and it really should. I have to crack on with other work, I may get around to this later on. thanks again BMS