You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
alloc_pages_bulk_array() attempts to allocate at least one page based on
the provided pages, and then opportunistically allocates more if that
can be done without dropping the spinlock.
So if it returns fewer than requested, that could just mean that it
needed to drop the lock. In that case, try again immediately.
Only pause for a time if no progress could be made.
Reported-and-tested-by: Mike Javorski <[email protected]>
Reported-and-tested-by: Lothar Paltins <[email protected]>
Fixes: f6e70aa ("SUNRPC: refresh rq_pages using a bulk page allocator")
Signed-off-by: NeilBrown <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
0 commit comments