{"push_id":1421447132,"size":2,"distinct_size":2,"ref":"refs/heads/fix-cpuinfo","head":"4f014578bd55a3202b6efbaafa591e690d3e6173","before":"2f6104a7d00c23348d3e95ec1858ca26b0468340","commits":[{"sha":"744a49458062d5461e3779794d5c393a46e7b33f","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"mm: remove gup_flags FOLL_WRITE games from __get_user_pages()\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>\nCc: stable@vger.kernel.org\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\nSigned-off-by: Corinna Vinschen <xda@vinschen.de>","distinct":true,"url":"https://api.github.com/repos/github-cygwin/android_kernel_samsung_kccat6/commits/744a49458062d5461e3779794d5c393a46e7b33f"},{"sha":"4f014578bd55a3202b6efbaafa591e690d3e6173","author":{"name":"Corinna Vinschen","email":"72f6f35545a6ca568b82669c6693ac9662f26711@vinschen.de"},"message":"Align /proc/cpuinfo content with other targets\n\nThe content of /proc/cpuinfo is Samsung special.  Change that to the\nexpected output for ARM targets.  Code taken from klte.\n\nSigned-off-by: Corinna Vinschen <xda@vinschen.de>","distinct":true,"url":"https://api.github.com/repos/github-cygwin/android_kernel_samsung_kccat6/commits/4f014578bd55a3202b6efbaafa591e690d3e6173"}]}
{"actor":{"display_login":"github-cygwin"}}