Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Oct 2001 18:04:17 -0600
From:      Drew Eckhardt <drew@PoohSticks.ORG>
To:        Dwayne.MacKinnon@xwave.com
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Memory allocation question 
Message-ID:  <200110030004.f9304Hs90401@revolt.poohsticks.org>
In-Reply-To: Your message of "Tue, 02 Oct 2001 16:55:28 EDT." <3BBA29C0.5E125DAF@xwave.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <3BBA29C0.5E125DAF@xwave.com>, Dwayne.MacKinnon@xwave.com writes:
>Hi,
>
>     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?

mlock(2)

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?200110030004.f9304Hs90401>