[haiku-bugs] Re: [Haiku] #1746: Default swap file size doesn't enable Virtual Memory

  • From: "hamish" <trac@xxxxxxxxxxxx>
  • Date: Sat, 01 Jan 2011 22:49:44 -0000

#1746: Default swap file size doesn't enable Virtual Memory
----------------------------------------+-----------------------------
  Reporter:  andreasf                   |        Owner:  leavengood
      Type:  bug                        |       Status:  assigned
  Priority:  normal                     |    Milestone:  R1
 Component:  Preferences/VirtualMemory  |      Version:  R1/pre-alpha1
Resolution:                             |     Keywords:
Blocked By:                             |  Has a Patch:  1
  Platform:  x86                        |     Blocking:
----------------------------------------+-----------------------------

Comment (by hamish):

 You're welcome.

 That latest patch makes some changes suggested as by scottmc in the Google
 Code-In task for this bug. The changes aren't all bug-fixes in the purest
 sense, but I believe they improve functionality. Here's the details on
 what's changed, as copied from the Google page:

 > The size slider is now disabled when the checkbox is unticked. An error
 message is now given when there's no space for a swap file, and the UI is
 disabled accordingly. Cleaned up some redundant code.

 There's also a bug whereby pressing the "defaults" button can force a swap
 size which is greater than the free space available (and also exceeds the
 range of the slider). Under this case, what should the swap size be set to
 instead? Perhaps half the available space?

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/1746#comment:10>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: