Files
linux/drivers/gpu/drm
Peter Xu a308c71bf1 mm/gup: Remove enfornced COW mechanism
With the more strict (but greatly simplified) page reuse logic in
do_wp_page(), we can safely go back to the world where cow is not
enforced with writes.

This essentially reverts commit 17839856fd ("gup: document and work
around 'COW can break either way' issue").  There are some context
differences due to some changes later on around it:

  2170ecfa76 ("drm/i915: convert get_user_pages() --> pin_user_pages()", 2020-06-03)
  376a34efa4 ("mm/gup: refactor and de-duplicate gup_fast() code", 2020-06-03)

Some lines moved back and forth with those, but this revert patch should
have striped out and covered all the enforced cow bits anyways.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-09-04 09:25:20 -07:00
..
2020-04-28 16:04:00 +02:00
2020-04-02 14:16:44 +02:00
2020-04-21 09:02:29 +02:00
2020-04-02 14:16:44 +02:00
2020-07-20 08:46:06 +08:00
2020-07-26 21:41:59 +02:00
2020-04-03 17:11:41 +02:00
2020-07-09 14:42:49 -04:00
2020-06-21 05:12:57 +03:00
2020-04-02 14:16:45 +02:00
2020-04-28 16:05:15 +02:00
2020-06-16 13:31:47 +02:00
2020-04-28 15:15:59 +02:00
2020-03-26 15:45:36 +01:00
2020-04-02 14:16:46 +02:00
2020-04-03 17:11:41 +02:00
2020-04-03 17:11:41 +02:00
2019-10-08 18:29:00 +02:00
2020-04-28 15:05:19 +02:00
2020-03-16 09:27:09 +01:00
2020-04-29 18:44:26 +03:00
2020-07-26 18:04:06 +02:00
2020-04-03 17:11:41 +02:00
2020-04-28 16:05:15 +02:00