From owner-freebsd-hackers Mon May 13 17:16:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from screech.weirdnoise.com (209-128-78-198.BAYAREA.NET [209.128.78.198]) by hub.freebsd.org (Postfix) with ESMTP id 3E84937B403 for ; Mon, 13 May 2002 17:16:45 -0700 (PDT) Received: from screech.weirdnoise.com (localhost [127.0.0.1]) by screech.weirdnoise.com (8.11.6/8.9.3) with ESMTP id g4E0J0C09067; Mon, 13 May 2002 17:19:01 -0700 (PDT) Message-Id: <200205140019.g4E0J0C09067@screech.weirdnoise.com> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: "Roman V. Palagin" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Memory and Reality In-Reply-To: Message from "Roman V. Palagin" of "Mon, 13 May 2002 13:54:32 +0400." <20020513130532.U83794-100000@room101.wuppy.net.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 13 May 2002 17:19:00 -0700 From: Ed Hall Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This tool is wonderful! It almost gives too much information (and that's a good thing). But the pmap_helper.ko kernel module is a little worrisome from a "safety" standpoint; just glancing through it, I see how it would be possible to leave with a LK_SHARED still held on p->p_vmspace->vm_map (say, if the user process didn't have enough room for all the pmh_map structs). Even with that fixed, it would be good if someone (Matt Dillion?) with a lot of vm subsystem experience looked at it for issues. But that said, it looks very promising, indeed. Although I don't think we'll be running it on a live server just yet, there are lots of cases where it would be useful even so. And I'm sure that some people will be inspired to strengthen and extend it. -Ed "Roman V. Palagin" wrote: : On May 11, at 1:15pm -0700, Ed Hall wrote: : Try to look at : : ftp://ftp.wuppy.net.ru/pub/FreeBSD/local/pmap/pmap-20010226.tar.gz : : This is tool simular to Solaris' pmap. You need to compile and install : pmap_helper, then compile pmap itself (pmap.d is very verbose development : version of pmap, you may want to look at it if you understand some VM's : internals :). You can run pmap w/out args, it will list all processes or : 'pmap ' to get info about specific pid. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message