From owner-freebsd-hackers Thu Sep 23 8: 2: 0 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from wrath.cs.utah.edu (wrath.cs.utah.edu [155.99.198.100]) by hub.freebsd.org (Postfix) with ESMTP id 7D6B814F33 for ; Thu, 23 Sep 1999 08:01:58 -0700 (PDT) (envelope-from danderse@cs.utah.edu) Received: from faith.cs.utah.edu (faith.cs.utah.edu [155.99.198.108]) by wrath.cs.utah.edu (8.8.8/8.8.8) with ESMTP id JAA20711; Thu, 23 Sep 1999 09:01:37 -0600 (MDT) Received: (from danderse@localhost) by faith.cs.utah.edu (8.9.3/8.9.3) id JAA13253; Thu, 23 Sep 1999 09:01:33 -0600 (MDT) From: David G Andersen Message-Id: <199909231501.JAA13253@faith.cs.utah.edu> Subject: Re: Idea: disposable memory To: toasty@dragondata.com (Kevin Day) Date: Thu, 23 Sep 1999 09:01:33 -0600 (MDT) Cc: hackers@freebsd.org In-Reply-To: <199909231433.JAA61714@celery.dragondata.com> from "Kevin Day" at Sep 23, 99 09:33:08 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: dga@lcs.mit.edu me: dga@pobox.com 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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message