memguard monitoring of more than 1 memory_type?
Yar Tikhiy
yar at comp.chem.msu.su
Tue Feb 7 11:01:29 PST 2006
On Tue, Feb 07, 2006 at 10:31:52AM -0800, Steve Kargl wrote:
> Can memguard monitor the usage of more that one memory_type?
>From the memguard(9) manpage:
Currently, MemGuard can only take over malloc(), realloc() and free() for
a particular malloc type.
> I added
> vm.memguard.desc="filedesc"
> vm.memguard.desc="DEVFS1"
> vm.memguard.desc="ptys"
> to /boot/loader.conf under the assumption that all three
> types would be monitored. However, I see
>
> troutmask:kargl[207] sysctl -a | grep memg
> vm.memguard.desc: ptys
> vm.memguard.divisor: 10
>
> which shows only the last loader.conf line is effective.
Each assignment to a tunable or sysctl overwrites
its former value, like in a programming language.
--
Yar
More information about the freebsd-current
mailing list