Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2002 15:39:10 +1000 (EST)
From:      Andrew <andrew@ugh.net.au>
To:        Fred Clift <fclift@verio.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pinning a process in real mem (ie unswappable)
Message-ID:  <20020511153832.E6115-100000@starbug.ugh.net.au>
In-Reply-To: <20020510101409.V49351-100000@vespa.dmz.orem.verio.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 10 May 2002, Fred Clift wrote:

> Is there any easy way to make a long-running process not ever get swapped
> out?  One that normally wouldn't be that busy, but for latency issues
> would be good to never have to wait to have pages mapped back in?

Well its not perfect but you could try madvise with MADV_WILLNEED.

Andrew


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?20020511153832.E6115-100000>