]> git.baikalelectronics.ru Git - kernel.git/commit
mm: retire GUP WARN_ON_ONCE that outlived its usefulness
authorHugh Dickins <hughd@google.com>
Sun, 31 Jan 2016 02:03:16 +0000 (18:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Feb 2016 16:57:14 +0000 (08:57 -0800)
commitec83674844a0cf673c912bdbbc144b3c23c7bb09
treea99f20c0e55ee2c1093e084be899a4ec24762dba
parent0789ec7075c19cfd0127b146bd74d4ee44949f3b
mm: retire GUP WARN_ON_ONCE that outlived its usefulness

Trinity is now hitting the WARN_ON_ONCE we added in v3.15 commit
34deed5fc0c8 ("mm: get_user_pages(write,force) refuse to COW in shared
areas").  The warning has served its purpose, nobody was harmed by that
change, so just remove the warning to generate less noise from Trinity.

Which reminds me of the comment I wrongly left behind with that commit
(but was spotted at the time by Kirill), which has since moved into a
separate function, and become even more obscure: delete it.

Reported-by: Dave Jones <davej@codemonkey.org.uk>
Suggested-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/gup.c
mm/memory.c