openSUSE / linuxrc

Installation Setup
GNU General Public License v3.0
17 stars 33 forks source link

do not use zram if there's more than 64 GiB free memory (bsc#1197253) #294

Closed wfeldt closed 2 years ago

wfeldt commented 2 years ago

Task

Port https://github.com/openSUSE/linuxrc/pull/293 to SLE15-SP4.

Original Problem

On machines with large main memory (above roughly 13 TiB), the kernel breaks if zram is used.

Solution

Limit zram activation to machines with less than 64 GiB free memory. If really needed it can still be activated using the zram=1 boot option.