Skip to content
Commit 96f17d59 authored by Roland Dreier's avatar Roland Dreier
Browse files

mlx4_core: Clean up buddy bitmap allocation



 - Use kcalloc() / vzalloc() instead of an extra bitmap_zero().
 - Add __GFP_NOWARN to kcalloc() since we'll try vzalloc() if it fails.

Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
parent 3de819e6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment