Matthew Dillon e027a83457 Change the nominal swap calculation from 1/2 physical memory to 1/8
physical memory.  The default is still 2x physical memory.  The nominal
calculation is used to back-off swap auto-allocation ('A'uto command)
when the disk is not large enough to accomodate all filesystem auto-defaults.
This gives other partitions (like /usr) more priority over swap on smaller
disks.

This should help solve reported auto-sizing failures on machines with small
hard drives and huge amounts of memory.  For example, a machine with 2G of
disk and 4G of memory will fail to auto-size without this fix.

MFC after:	3 days
2003-01-25 19:32:35 +00:00
..
2002-08-06 20:36:02 +00:00
2002-10-14 13:02:30 +00:00
2002-11-01 02:05:05 +00:00
2003-01-17 18:51:21 +00:00
2002-08-01 10:20:59 +00:00
2001-06-01 12:16:09 +00:00
2002-10-14 13:04:21 +00:00
2001-10-12 07:36:34 +00:00
2002-11-01 02:05:05 +00:00
2002-11-01 02:05:05 +00:00
2002-11-01 02:05:05 +00:00
2002-11-01 02:05:05 +00:00
2002-11-01 02:05:05 +00:00
2002-11-01 02:05:05 +00:00
2001-09-22 23:17:37 +00:00
2002-11-01 02:05:05 +00:00