diff options
author | David Cantrell <dcantrell@redhat.com> | 2010-04-14 06:32:22 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2010-04-14 11:09:05 -1000 |
commit | 0e9d6b58fe345c3a237c97cd8e0be47900dfc466 (patch) | |
tree | e9ecf2c0a18563415d494ec18e31ad452a7e58a8 /iutil.py | |
parent | aaa751411c0a73a0e7131c98cfea3562db04c137 (diff) | |
download | anaconda-0e9d6b58fe345c3a237c97cd8e0be47900dfc466.tar.gz anaconda-0e9d6b58fe345c3a237c97cd8e0be47900dfc466.tar.xz anaconda-0e9d6b58fe345c3a237c97cd8e0be47900dfc466.zip |
Set minswap suggestion on s390x to 1 (#466289).
On s390x, set the minswap suggestion to 1 rather than 256, 1024, or the
amount of memory in the system. On s390x, it's common for users to run
with swap volumes smaller than the installed memory size, so align the
anaconda recommendations with that.
Diffstat (limited to 'iutil.py')
-rw-r--r-- | iutil.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -445,6 +445,9 @@ def swapSuggestion(quiet=0): minswap = mem maxswap = 2*mem + if isS390(): + minswap = 1 + if not quiet: log.info("Swap attempt of %sM to %sM", minswap, maxswap) |