From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e0cf147bd82c9241 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-11-09 07:54:52 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!spool.mu.edu!olivea!news.bu.edu!noc.near.net!mv!fastball.unimaster.com!cherkus From: cherkus@fastball.unimaster.com (Dave Cherkus) Subject: Re: Locking Process in Memory under DEC OSF/1 Nntp-Posting-Host: cherkus.mv.com References: <2bmdgu$sq6@rigel.fccc.edu> <2bniivINNonv@usenet.pa.dec.com> Sender: usenet@mv.mv.com (Robert Chesler) Organization: UniMaster, Inc. Date: Tue, 9 Nov 1993 15:14:55 GMT Message-ID: Reply-To: cherkus@UniMaster.COM In article <2bniivINNonv@usenet.pa.dec.com>, neideck@bier.enet.dec.com (Burkhard Neidecker-Lutz) writes: |> In article 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