Date: Tue, 2 Oct 2001 23:38:51 +0200 From: Maxime Henrion <mux@qualys.com> To: Dwayne <Dwayne.MacKinnon@xwave.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Memory allocation question Message-ID: <20011002233851.A1317@nebula.cybercable.fr> In-Reply-To: <3BBA29C0.5E125DAF@xwave.com> References: <3BBA29C0.5E125DAF@xwave.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dwayne wrote: > I'm creating an app where I want to use memory to store data so I > can get at it quickly. The problem is, I can't afford the delays that > would occur if the memory gets swapped out. Is there any way in FreeBSD > to allocate memory so that the VM system won't swap it out? > I think mlock(2) is what you want. Maxime Henrion -- Don't be fooled by cheap finnish imitations ; BSD is the One True Code 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?20011002233851.A1317>