home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25829 < prev    next >
Encoding:
Text File  |  1993-01-28  |  2.4 KB  |  52 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!nih-csl!midway.dcrt.nih.gov!seidl
  3. From: seidl@midway.dcrt.nih.gov (Edward Seidl)
  4. Subject: Re: Swap partition != available swap space
  5. Message-ID: <1993Jan29.023338.5213@alw.nih.gov>
  6. Keywords: swap 
  7. Sender: postman@alw.nih.gov (AMDS Postmaster)
  8. Organization: National Institutes of Health, Bethesda, MD
  9. References: <1993Jan26.124338.8238@infograph.com> <1993Jan28.170305.15436@cbfsb.cb.att.com>
  10. Date: Fri, 29 Jan 1993 02:33:38 GMT
  11. Lines: 39
  12.  
  13. In article <1993Jan28.170305.15436@cbfsb.cb.att.com> wto@cbnewsg.cb.att.com (William T. O Connell) writes:
  14. >>  [ wants 32Mb swap partition ]
  15. >>
  16. >
  17. >No, it's not related to the kernel config question, thats referring
  18. >to phy. RAM. - someone correct me if I'm wrong but, linux will use up 
  19. >to 16MB of swap space, even though in your case you allocated 32MBs. 
  20. >If you want to have more then 16MB of swap space you'll have to modify 
  21. >the kernel to support the larger swap space. Someone did post a while
  22. >back that they got info from linus on how to modify the kernel to
  23. >do this, I don't believe the change was that big of a deal.
  24. >
  25.  
  26. Correct on all counts.  The changes to the kernel are not major at all.
  27. The only file that needed to be changed was linux/mm/swap.c.  I also had
  28. to modify mkswap a bit, as well as free (I only have the kernel version,
  29. not the proc fs one).  I've been running with 32Mb of swap for ~2 weeks
  30. now...no problems so far.  I sent the patches to Linus so that he could
  31. verify that the changes are neither stupid nor dangerous.  Considering that
  32. 2 kernel patches have been released since then makes me wonder :)
  33.  
  34. So far I've been loath to give the patches to anyone until I hear back from
  35. Linus, or, better yet, he sticks the changes (or a better solution) into
  36. the kernel.  If anyone out there can't wait, I'd be willing to send them
  37. the necessary patches with the understanding that they have been tested
  38. on exactly one machine, and I make NO promises that catastrophe does not
  39. await any who apply them to their machine.  If enough people are interested,
  40. I might put them on tsx-11, but I'd really rather wait until I hear 
  41. something from Linus.
  42.  
  43. >- Bill O'Connell
  44.  
  45. Ed Seidl
  46.  
  47. --
  48. Edward Seidl                                      DCRT/CSL Bldg 12A, Rm 2033
  49. seidl@alw.nih.gov                                 NIH, Bethesda, MD 20892  
  50.  
  51. I'm not paid enough to have an opinion, much less express one for my employer.
  52.