From: dyuan@win20.rch.mci.com (David Yuan)
Subject: Make Shared Memory Block Memory-Resident Possible?
Date: 1997/04/01 [thread overview]
Message-ID: <5hr99r$ifj$1@news.internetmci.com> (raw)
hi all,
what i want is to have a shared memory be locked inside the
physical memory to prevent from being paged out. what i did is first
create a shared memory segment using POSIX4 or/and Systen V shared memory
creation procedures, then call mlock() to lock it. does it work? i mean, if
the memory creation process exit, is the shared memory segment still being
locked inside the physical memory? in the manual, it says mlock() only lock
the pages during a process's life time. but the shared memory pages exists
longer than a particular process's life time. my platform is DEC Alpha
running Digital UNIX V3.2C.
thanks for any input.
David
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David Yuan
MCI Telecommunications Corporation
901 International Pkwy. || Office Number: 972 498 1129
reply other threads:[~1997-04-01 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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