Lo and behold, Kevin Day once said:
>
>
> I don't think MADV_FREE is what I want, since it makes my memory go away
> very quickly, *and* I have no way of knowing that the kernel did it.
You do have a way of knowing the kernel did it - your memory is
suddenly full of zeros. You don't have an *asynchronous* way of knowing
that the kernel did it, however, which I believe is more what you're
aiming at. (Something like a "SIG_I_STOLE_YOUR_MEMORY"), no?
-Dave
--
work: [EMAIL PROTECTED] me: [EMAIL PROTECTED]
MIT LCS http://www.angio.net/
"If you haul a geek up a crack, you will bloody their fingers for a day...
If you teach a geek to climb, you will bloody their fingers for life."
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message