[master] zRAM follow-up follow-up

Vratislav Podzimek vpodzime at redhat.com
Fri Jul 25 10:36:58 UTC 2014


Turns out that with the squashfs.img fetched from network we need a lot more
RAM. PATCH 1/4 adds a code that makes check_memory aware of that fact, PATCH 2/4
turns on zRAM up to 2 GB RAM because with squashfs.img from network it is
necessary or really useful up to 2 GB. PATCH 3/4 fixes an issue I've discovered
when fiding memory limits where anaconda-yum got oom-killed and the anaconda
process didn't care and failed on missing authconfig in the installed system
where nothing was actually installed. Finally PATCH 4/4 is just a cosmetic
change removing useless numeric operations potentially leading to errors.

Vratislav Podzimek (4):
  RAM requirements depend on squashfs.img's origin
  Use zRAM swap up to 2 GB of RAM
  Raise exception if reading lines from a killed process
  Do not multiply/divide RAM sizes by 1024 back and forth

 anaconda                    | 14 +++++++++++---
 pyanaconda/isys/__init__.py |  9 +++++----
 pyanaconda/iutil.py         | 16 ++++++++++++++++
 scripts/zramswapon          |  4 +++-
 4 files changed, 35 insertions(+), 8 deletions(-)

-- 
1.9.3



More information about the anaconda-patches mailing list