mm: gup: make get_user_pages_fast and __get_user_pages_fast latency conscious
This teaches gup_fast and __gup_fast to re-enable irqs and cond_resched() if possible every BATCH_PAGES. This must be implemented by other archs as well and it's a requirement before converting more get_user_pages() to get_user_pages_fast() as an optimization (instead of using get_user_pages_unlocked which would be slower).
Showing
Please register or sign in to comment