diff options
author | Andrea Arcangeli <[email protected]> | 2015-02-11 15:27:20 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-02-11 17:06:05 -0800 |
commit | 0fd71a56f41d4ffabeda1dae9ff5ed4f34d4e935 (patch) | |
tree | bf1844624a69986ad308c298b894e1890977af91 /net/lapb/lapb_subr.c | |
parent | f0818f472d8d527a96ec9cc2c3a56223497f9dd3 (diff) |
mm: gup: add __get_user_pages_unlocked to customize gup_flags
Some callers (like KVM) may want to set the gup_flags like FOLL_HWPOSION
to get a proper -EHWPOSION retval instead of -EFAULT to take a more
appropriate action if get_user_pages runs into a memory failure.
Signed-off-by: Andrea Arcangeli <[email protected]>
Reviewed-by: Kirill A. Shutemov <[email protected]>
Cc: Andres Lagar-Cavilla <[email protected]>
Cc: Peter Feiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions