Date: Mon, 13 May 2002 17:19:00 -0700 From: Ed Hall <edhall@weirdnoise.com> To: "Roman V. Palagin" <romanp@unshadow.net> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Memory and Reality Message-ID: <200205140019.g4E0J0C09067@screech.weirdnoise.com> In-Reply-To: Message from "Roman V. Palagin" <romanp@unshadow.net> of "Mon, 13 May 2002 13:54:32 %2B0400." <20020513130532.U83794-100000@room101.wuppy.net.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <romanp@unshadow.net> 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 <pid>' to get info about specific pid. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205140019.g4E0J0C09067>