hardkernel / linux

Linux kernel source tree
Other
428 stars 407 forks source link

[ODROID C2] SWAPPING no longer working correctly on 3.14.65 #204

Closed meveric closed 8 years ago

meveric commented 8 years ago

Ever since the update to 3.14.65 swapping (either ZRAM or regular SWAP) is no longer working correctly. During compiling, if a lot of RAM is used, the system does no longer swap, even setting swappiness to 100 doesn't help at all.

Using 3.14.29 both ZRAM and SWAP are working correctly.

bkrepo commented 8 years ago

I also confirmed this issue. C2 Ubuntu cannot swap the memory without ZRAM configuration. I used this test program. The program is always killed after allocating 1.3GB memory even if the swap free space is enough.

Thank you for the report. We will look into this problem.

bkrepo commented 8 years ago

This problem is due to unnecessary Low Memory Killer. Low memory killer is for Android memory management. Linux use OOM killer generally. The fixed patch will upload soon.

meveric commented 8 years ago

Thanks :) Hope I can try and build a new package before I have to leave for vacation :)

bkrepo commented 8 years ago

Fixed at https://github.com/hardkernel/linux/commit/3dd584f4bfeee51c940374ef270d66adc576ee52.