{"push_id":1360406624,"size":2,"distinct_size":0,"ref":"refs/heads/master","head":"47abc73c6a9092d75b9c3cf1dc5746adf415c3e5","before":"b3580e431d446b1f08402bec40bcaa8939747ea5","commits":[{"sha":"61bd25e64d990b224db73cba115f3a53eefcb795","author":{"name":"mumbel","email":"9467560eeef24fe6f95d7c783704e47210d1979a@users.noreply.github.com"},"message":"lowmemorykiller: account for unevictable pages\n\nlowmemorykiller was not taking into account unevictable pages when\ndeciding what level to kill. If significant amounts of memory were\npinned, this caused lowmemorykiller to effectively stop at a much higher\nlevel than it should.\n\nbug 31255977\n\nChange-Id: I763ecbfef8c56d65bb8f6147ae810692bd81b6e2","distinct":false,"url":"https://api.github.com/repos/mumbel/android_kernel_mediatek_mt6735/commits/61bd25e64d990b224db73cba115f3a53eefcb795"},{"sha":"47abc73c6a9092d75b9c3cf1dc5746adf415c3e5","author":{"name":"mumbel","email":"9467560eeef24fe6f95d7c783704e47210d1979a@users.noreply.github.com"},"message":"commit 19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619 upstream.\n\nThis is an ancient bug that was actually attempted to be fixed once\n(badly) by me eleven years ago in commit 4ceb5db9757a (\"Fix\nget_user_pages() race for write access\") but that was then undone due to\nproblems on s390 by commit f33ea7f404e5 (\"fix get_user_pages bug\").\n\nIn the meantime, the s390 situation has long been fixed, and we can now\nfix it by checking the pte_dirty() bit properly (and do it better).  The\ns390 dirty bit was implemented in abf09bed3cce (\"s390/mm: implement\nsoftware dirty bits\") which made it into v3.9.  Earlier kernels will\nhave to look at the page state itself.\n\nAlso, the VM has become more scalable, and what used a purely\ntheoretical race back then has become easier to trigger.\n\nTo fix it, we introduce a new internal FOLL_COW flag to mark the \"yes,\nwe already did a COW\" rather than play racy games with FOLL_WRITE that\nis very fundamental, and then use the pte dirty flag to validate that\nthe FOLL_COW flag is still valid.\n\nReported-and-tested-by: Phil \"not Paul\" Oester <kernel@linuxace.com>\nAcked-by: Hugh Dickins <hughd@google.com>\nReviewed-by: Michal Hocko <mhocko@suse.com>\nCc: Andy Lutomirski <luto@kernel.org>\nCc: Kees Cook <keescook@chromium.org>\nCc: Oleg Nesterov <oleg@redhat.com>\nCc: Willy Tarreau <w@1wt.eu>\nCc: Nick Piggin <npiggin@gmail.com>\nCc: Greg Thelen <gthelen@google.com>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":false,"url":"https://api.github.com/repos/mumbel/android_kernel_mediatek_mt6735/commits/47abc73c6a9092d75b9c3cf1dc5746adf415c3e5"}]}
{"actor":{"display_login":"mumbel"}}