home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9574 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.5 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!torvalds
  2. From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Swap files (was: Re: .97 kernel and root disk/probs with swapping)
  5. Message-ID: <1992Sep1.153412.18136@klaava.Helsinki.FI>
  6. Date: 1 Sep 92 15:34:12 GMT
  7. References: <1992Aug31.194716.16232@klaava.Helsinki.FI> <bjl.715328078@freyr> <1992Sep1.083154.5064@klaava.Helsinki.FI>
  8. Organization: University of Helsinki
  9. Lines: 22
  10.  
  11. In article <1992Sep1.083154.5064@klaava.Helsinki.FI> torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds) writes:
  12. >In article <bjl.715328078@freyr> B.J.Lippolt@research.ptt.nl writes:
  13. >>
  14. >>On the subject of swapping. 
  15. >>
  16. >>Would it be possible to implement a scheme (a la SunOS) where you can 
  17. >>'add' swap files to the swap space? E.g. I have a 8Mb swap partition, and 
  18. >>when I need more (which happens once in a while) I just create a swap 
  19. >>file and add it to my 8 Mb swap space. Would this be a minor (i.e. I
  20. >>can do it myself) or a major change?
  21. >
  22. >It wouldn't be too hard: right now swap-map numbers are 31-bit entities,
  23. [ explanation on how to implement it deleted ]
  24.  
  25. Ok, don't implement this: I already did it, and the (minor, as promised)
  26. changes will be in the next patch.  I'm currently running linux with two
  27. different swapfiles, and it accepts up to 8 different files (and up to
  28. 128 after changing a single #define and recompiling).  I haven't
  29. implemented "swapoff()" yet, but I guess that too will be implemented
  30. today.
  31.  
  32.         Linus
  33.