Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 2000 15:33:31 -0600 (CST)
From:      Mike Meyer <mwm@mired.org>
To:        Jan Grant <Jan.Grant@bristol.ac.uk>
Cc:        questions@freebsd.org
Subject:   Re: Don't swap these pages mprotect/madvise? ?
Message-ID:  <14859.6187.613671.419680@guru.mired.org>
In-Reply-To: <62576192@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Jan Grant <Jan.Grant@bristol.ac.uk> types:
> Is there a call that I've missed to prevent the VM system from using
> anything apart from in-core memory to store a page/region? - in other
> words, I'm looking for a "don't swap this page" call.

mlock(2)

	<mike


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14859.6187.613671.419680>