Commit a77ff35
committed
mm/gup: reintroduce pin_user_pages_fast_only()
Like pin_user_pages_fast(), but with the internal-only FOLL_FAST_ONLY flag.
This complements the get_user_pages*() API, which already has
get_user_pages_fast_only().
Note that pin_user_pages_fast_only() used to exist but was removed in
upstream commit edad1bb ("mm/gup: remove pin_user_pages_fast_only()")
due to it not having any users.
Signed-off-by: Sultan Alsawaf <sultan@ciq.com>1 parent 2e8bf6e commit a77ff35
2 files changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2529 | 2529 | | |
2530 | 2530 | | |
2531 | 2531 | | |
| 2532 | + | |
| 2533 | + | |
2532 | 2534 | | |
2533 | 2535 | | |
2534 | 2536 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3544 | 3544 | | |
3545 | 3545 | | |
3546 | 3546 | | |
| 3547 | + | |
| 3548 | + | |
| 3549 | + | |
| 3550 | + | |
| 3551 | + | |
| 3552 | + | |
| 3553 | + | |
| 3554 | + | |
| 3555 | + | |
| 3556 | + | |
| 3557 | + | |
| 3558 | + | |
| 3559 | + | |
| 3560 | + | |
3547 | 3561 | | |
3548 | 3562 | | |
3549 | 3563 | | |
| |||
0 commit comments