Files
Linux/lib
Ira Weiny 73b0140bf0 mm/gup: change GUP fast to use flags rather than a write 'bool'
To facilitate additional options to get_user_pages_fast() change the
singular write parameter to be gup_flags.

This patch does not change any functionality.  New functionality will
follow in subsequent patches.

Some of the get_user_pages_fast() call sites were unchanged because they
already passed FOLL_WRITE or 0 for the write parameter.

NOTE: It was suggested to change the ordering of the get_user_pages_fast()
arguments to ensure that callers were converted.  This breaks the current
GUP call site convention of having the returned pages be the final
parameter.  So the suggestion was rejected.

Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ira Weiny <[email protected]>
Reviewed-by: Mike Marshall <[email protected]>
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: John Hubbard <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Rich Felker <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Yoshinori Sato <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2019-05-14 09:47:46 -07:00
..
…
2018-07-10 15:00:52 -06:00
2018-08-22 10:52:48 -07:00
…
…
…
…
2018-10-12 09:17:46 +02:00
…
…
2018-08-16 12:14:42 -07:00
…
…
…
…
…
…
…
…
2018-08-22 10:52:48 -07:00
…
2019-03-07 18:32:00 -08:00
…
…
…
…
…
…
…
2019-01-05 13:54:53 -08:00
2019-03-12 10:04:02 -07:00
…
…
…
…
…
…
…
…
…
…
2018-10-16 13:45:44 +02:00
…
…
…
…
…
…
…
…
2018-06-27 18:58:49 +03:00
2019-04-08 16:44:20 -06:00
2018-10-15 16:31:29 -04:00
…
…
…
2019-05-06 11:12:09 -07:00
…
…
…