From owner-freebsd-hackers Wed Sep 22 23:24:18 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from celery.dragondata.com (celery.dragondata.com [205.253.12.6]) by hub.freebsd.org (Postfix) with ESMTP id 66650154A8 for ; Wed, 22 Sep 1999 23:24:15 -0700 (PDT) (envelope-from toasty@celery.dragondata.com) Received: (from toasty@localhost) by celery.dragondata.com (8.9.3/8.9.3) id BAA94111; Thu, 23 Sep 1999 01:24:35 -0500 (CDT) (envelope-from toasty) From: Kevin Day Message-Id: <199909230624.BAA94111@celery.dragondata.com> Subject: Re: Idea: disposable memory To: dcs@newsguy.com (Daniel C. Sobral) Date: Thu, 23 Sep 1999 01:24:35 -0500 (CDT) Cc: toasty@dragondata.com (Kevin Day), hackers@FreeBSD.ORG In-Reply-To: <37E9C4F7.722AF447@newsguy.com> from "Daniel C. Sobral" at Sep 23, 1999 03:13:11 PM X-Mailer: ELM [version 2.5 PL1] 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 > > Kevin Day wrote: > > > > Thoughts? > > man madvise? > Yeah, but MADV_FREE doesn't really do what I need. I have no idea if the system actually did free my ram or not. I want to hang on to the data, but if more ram is needed, then it can be discarded, but I need to know that it did, so that I can recreate it. Checking every time I blit an object to see if the page is zero'ed won't work. Kevin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message