The workaround suggested above (echo 3 > /proc/sys/vm/drop_caches) doesn't work consistently for me on kernel 4.2.0 (Ubuntu 15.10) on an Acer C720 Chromebook.
I've found another workaround that works well for me so far: create a file /etc/sysctl.d/60-workaround-kswapd-allcpu.conf with the following contents and reboot:
vm.min_free_kbytes=67584
The workaround suggested above (echo 3 > /proc/sys/ vm/drop_ caches) doesn't work consistently for me on kernel 4.2.0 (Ubuntu 15.10) on an Acer C720 Chromebook.
I've found another workaround that works well for me so far: create a file /etc/sysctl. d/60-workaround -kswapd- allcpu. conf with the following contents and reboot: free_kbytes= 67584
vm.min_
The idea behind this workaround is a post by Kirill A. Shutemov on LKML (http:// lkml.iu. edu//hypermail/ linux/kernel/ 1601.2/ 03564.html) and this Gallium OS bug report: https:/ /github. com/GalliumOS/ galliumos- distro/ issues/ 52
Would be interesting to know if this helps others