home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / next / sysadmin / 7606 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.5 KB  |  35 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!ames!ictv!barry
  3. From: barry@ictv.com (Barry Lustig)
  4. Subject: Re: NeXTs running 3.0 *probably* cannot swap to a raw partition
  5. Message-ID: <1993Jan25.074420.16279@ictv.com>
  6. Sender: usenet@ictv.com
  7. Organization: ICTV, Santa Clara, CA (408) 562-9200
  8. References: <1993Jan21.195003.6023@ictv.com> <CEDMAN.93Jan21153237@capitalist.princeton.edu>
  9. Date: Mon, 25 Jan 1993 07:44:20 GMT
  10. Lines: 23
  11.  
  12. In article <CEDMAN.93Jan21153237@capitalist.princeton.edu> cedman@princeton.edu (Carl Edman) writes:
  13.     Not quite so fast. All you found out that the BSD system call to
  14.     enable swaping is a dummy call. From that one might conclude that the
  15.     NeXT can not swap at all just as quickly as that it can not swap to a
  16.     raw partition.  Fortunately that is not so as virtual memory is one of
  17.     the system services which is provided by Mach through the mach_swapon
  18.     system call and not BSD on a NeXT. And mach_swapon is _not_ a dummy
  19.     call. Careful analysis of this call and its subroutines might reveal
  20.     that indeed it is impossible to swap to a raw partition (as I believe
  21.     it is). This analysis is left as an exercise to the reader.
  22.     
  23.             Carl Edman
  24.  
  25.  
  26.   As I mentioned to Carl in a mail message, I did look at mach_swapon
  27. as well.  As far as I can tell, mach_swapon uses the vnode pager code.
  28. This provides for paging to a file, not to a raw device.  
  29.  
  30.   One can also look at the virtual memory sub-system of 386bsd or
  31. Berkeley net-2.  Both of them use the mach virtual memory system.
  32.  
  33. barry
  34. -- 
  35.