Skip to content
Commit b01b4050 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

kvfree_rcu: Use __GFP_NOMEMALLOC for single-argument kvfree_rcu()



This commit applies the __GFP_NOMEMALLOC gfp flag to memory allocations
carried out by the single-argument variant of kvfree_rcu(), thus avoiding
this can-sleep code path from dipping into the emergency reserves.

Acked-by: default avatarMichal Hocko <mhocko@suse.com>
Suggested-by: default avatarMichal Hocko <mhocko@suse.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 148e3731
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment