From owner-freebsd-questions Fri May 10 22:39:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id 99CDD37B404 for ; Fri, 10 May 2002 22:39:11 -0700 (PDT) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id 0FF20A809; Sat, 11 May 2002 15:39:10 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by starbug.ugh.net.au (Postfix) with ESMTP id 0D2B9542D; Sat, 11 May 2002 15:39:10 +1000 (EST) Date: Sat, 11 May 2002 15:39:10 +1000 (EST) From: Andrew To: Fred Clift Cc: freebsd-questions@freebsd.org Subject: Re: pinning a process in real mem (ie unswappable) In-Reply-To: <20020510101409.V49351-100000@vespa.dmz.orem.verio.net> Message-ID: <20020511153832.E6115-100000@starbug.ugh.net.au> X-WonK: *wibble* MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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