Loading
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:
Roland Dreier <roland@purestorage.com>
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
- 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:
Roland Dreier <roland@purestorage.com>