Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: cherkus@fastball.unimaster.com (Dave Cherkus)
Subject: Re: Locking Process in Memory under DEC OSF/1
Date: Tue, 9 Nov 1993 15:14:55 GMT	[thread overview]
Message-ID: <CG8D0y.KEC@mv.mv.com> (raw)
In-Reply-To: 2bniivINNonv@usenet.pa.dec.com

In article <2bniivINNonv@usenet.pa.dec.com>, neideck@bier.enet.dec.com (Burkhard Neidecker-Lutz) writes:
|> In article <CG78LB.Dur@mv.mv.com> cherkus@UniMaster.COM writes:
|> >In article <2bmdgu$sq6@rigel.fccc.edu>, smrosen@vega.rm.fccc.edu (Steve Rosen) writes:
|> >|> I don't have access to the source code so it would have to be done at the
|> >|> operating system level.
|> >
|> >In the past, I've used plock() with good results...
|> 
|> None of these calls will help because he said he doesn't have sources. 
|> 

The question can be read two ways because it does not state whether he
wants to perform the function from user space or from kernel space.

My original answer is correct if he is writing a user space application
that needs to lock its pages into physical memory (which is what I
thought he was asking).  This can be coded without access to the
source, just like any other libc function.

If he is writing kernel code, he should use the vm_map_pageable()
function, which is documented in the device driver reference.
Assuming the proper competence, the device driver reference should
contain enough information so that the function can be called 
without having access to the kernel's source code.

----
Dave Cherkus          UniMaster, Inc.         cherkus@unimaster.com 


  reply	other threads:[~1993-11-09 15:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-11-08 21:25 Locking Process in Memory under DEC OSF/1 Steve Rosen
1993-11-09  0:41 ` Dave Cherkus
1993-11-09  7:58   ` Burkhard Neidecker-Lutz
1993-11-09 15:14     ` Dave Cherkus [this message]
1993-11-18  7:02 ` Jeremy
1993-11-26 16:33   ` Mark Charette
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox