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-06-04 19:06:21 -07:00
2020-05-09 16:15:13 -06:00
2019-09-04 07:42:01 -04:00
2019-07-12 12:24:03 -07:00
2019-12-01 12:59:09 -08:00
2020-07-03 16:15:25 -07:00
2017-11-02 11:10:55 +01:00
2020-06-26 00:27:36 -07:00
2017-11-02 11:10:55 +01:00
2020-06-26 00:27:37 -07:00
2020-06-17 10:57:41 -07:00
2020-04-07 10:43:42 -07:00
2020-01-31 10:30:38 -08:00
2020-06-02 10:59:06 -07:00
2019-07-12 11:05:43 -07:00
2020-07-07 23:40:08 +02:00
2020-06-09 09:39:14 -07:00
2020-06-04 19:06:24 -07:00
2020-04-02 09:35:27 -07:00
2020-09-04 09:25:20 -07:00
2019-12-10 10:12:55 +01:00
2020-06-09 09:39:14 -07:00
2020-09-04 09:25:20 -07:00
2020-04-07 10:43:41 -07:00
2020-07-24 12:42:41 -07:00
2019-12-01 12:59:09 -08:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2019-06-19 17:09:08 +02:00
2020-06-07 17:25:29 -07:00
2020-06-14 01:57:21 +09:00
2020-07-24 12:42:41 -07:00
2019-06-05 17:37:06 +02:00
2020-04-02 09:35:26 -07:00
2020-09-04 09:25:20 -07:00
2020-06-04 19:06:24 -07:00
2020-06-17 10:57:41 -07:00
2020-06-09 09:39:14 -07:00
2020-06-11 18:55:43 -07:00
2020-04-02 09:35:29 -07:00
2020-06-04 19:06:23 -07:00
2020-07-24 12:42:41 -07:00
2019-09-24 15:54:08 -07:00
2020-06-26 00:27:38 -07:00
2020-06-11 18:17:47 -07:00
2020-09-04 09:25:20 -07:00
2020-06-09 09:39:14 -07:00
2019-03-05 21:07:20 -08:00
2020-04-10 15:36:21 -07:00
2017-11-02 11:10:55 +01:00
2020-07-08 10:48:35 -07:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2020-06-02 10:59:12 -07:00
2020-07-24 12:42:41 -07:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2017-11-02 11:10:55 +01:00
2020-06-09 09:39:14 -07:00
2020-07-13 11:37:39 -07:00
2020-06-09 09:39:14 -07:00
2020-06-26 00:27:38 -07:00
2020-06-10 19:14:18 -07:00
2020-07-03 16:15:25 -07:00
2020-04-02 09:35:29 -07:00
2020-04-07 10:43:40 -07:00
2020-06-08 11:05:55 -07:00
2020-06-09 09:39:13 -07:00
2020-06-04 15:36:52 -04:00
2020-06-03 20:09:45 -07:00
2019-09-24 15:54:08 -07:00
2020-04-07 10:43:39 -07:00
2020-06-09 09:39:13 -07:00
2020-01-31 10:30:38 -08:00
2020-06-04 19:06:24 -07:00
2020-06-09 09:39:14 -07:00
2019-03-13 12:25:31 -07:00
2019-06-05 17:37:16 +02:00
2020-04-01 10:09:12 -07:00
2019-06-05 17:37:16 +02:00
2020-06-02 10:59:11 -07:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2020-06-02 10:59:07 -07:00
2020-06-09 09:39:14 -07:00
2020-06-17 10:57:41 -07:00
2020-07-24 12:42:41 -07:00
2020-04-07 10:43:38 -07:00
2020-04-07 10:43:38 -07:00
2020-07-24 12:42:41 -07:00
2020-06-03 20:09:44 -07:00
2020-06-26 00:27:37 -07:00
2020-03-26 14:45:51 +01:00
2020-06-26 00:27:37 -07:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:13 -07:00
2020-06-03 20:09:48 -07:00
2020-04-02 09:35:27 -07:00
2020-06-26 00:27:37 -07:00
2020-06-26 00:27:38 -07:00
2020-06-09 09:39:14 -07:00
2019-10-19 06:32:33 -04:00
2019-09-17 15:20:17 -07:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2020-06-10 19:14:18 -07:00
2020-06-26 00:27:38 -07:00
2020-04-02 09:35:31 -07:00
2020-06-26 00:27:37 -07:00
2020-06-04 19:06:26 -07:00
2020-06-26 00:27:37 -07:00
2020-05-28 11:35:40 -07:00
2020-06-04 19:06:24 -07:00
2019-09-24 15:54:12 -07:00
2020-06-09 09:39:13 -07:00
2020-04-07 10:43:41 -07:00