[master] zRAM follow-up follow-up

Brian C. Lane bcl at redhat.com
Sat Jul 26 01:43:54 UTC 2014


On Fri, Jul 25, 2014 at 12:36:58PM +0200, Vratislav Podzimek wrote:
> 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

These all look good to me.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list