home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / wizards / 3619 < prev    next >
Encoding:
Text File  |  1992-08-14  |  1.1 KB  |  33 lines

  1. Newsgroups: comp.unix.wizards
  2. Path: sparky!uunet!tcsi.com!sriram
  3. From: sriram@tcs.com (Sriram Srinivasah)
  4. Subject: Re: How to gain access to Physical memory?
  5. Message-ID: <1992Aug14.205737.20576@tcsi.com>
  6. Sender: news@tcsi.com
  7. Organization: Teknekron Communications, Inc
  8. References:  <1992Aug12.150811.21384@tamsun.tamu.edu>
  9. Distribution: usa
  10. Date: Fri, 14 Aug 1992 20:57:37 GMT
  11. Lines: 20
  12.  
  13. In article <1992Aug12.150811.21384@tamsun.tamu.edu>, kraghu@cs.tamu.edu (Kanakatte G Raghuram) writes:
  14. |> 
  15. |> I need to create my own buffer in the physical memory. I intend to implement a
  16. |> buffer mamager for a DBMS and I don't want my buffer to be a part of the logical
  17. |> address space. I want my own buffer area in physical memory so that I have my
  18. |> own buffer into which I can swap in and out the relations I need. I don't want
  19. |> the O.S to interfere with my buffer area. Can such a thing be done and if so,
  20. |>  how?
  21. |> 
  22. |> 
  23. |> 
  24. |> 
  25.  
  26.  
  27. Try mmap(3), if your version of Unix supports it. 
  28. For a good intro on mmap and it's uses, read an article on memory mapped databases
  29. available in pub/uDatabase/POS5.dvi, from watmsg.waterloo.edu
  30.  
  31. Sriram
  32. (sriram@tcs.com)
  33.