From owner-freebsd-hackers Tue Oct 2 17: 4:26 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from revolt.poohsticks.org (revolt.poohsticks.org [63.227.60.74]) by hub.freebsd.org (Postfix) with ESMTP id 4039937B406 for ; Tue, 2 Oct 2001 17:04:24 -0700 (PDT) Received: from revolt.poohsticks.org (localhost [127.0.0.1]) by revolt.poohsticks.org (8.11.3/8.11.3) with ESMTP id f9304Hs90401; Tue, 2 Oct 2001 18:04:17 -0600 (MDT) (envelope-from drew@revolt.poohsticks.org) Message-Id: <200110030004.f9304Hs90401@revolt.poohsticks.org> To: Dwayne.MacKinnon@xwave.com Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Memory allocation question In-reply-to: Your message of "Tue, 02 Oct 2001 16:55:28 EDT." <3BBA29C0.5E125DAF@xwave.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <90398.1002067457.1@revolt.poohsticks.org> Date: Tue, 02 Oct 2001 18:04:17 -0600 From: Drew Eckhardt Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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