Re: [PATCH for-next 7/7] IB/hfi1: Take advantage of kvzalloc_node in sdma initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 23, 2017 at 06:06:32AM -0700, Dennis Dalessandro wrote:
> From: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx>
>
> The code that allocates the tx ring in the sdma code fails to take
> advantage of kvzalloc variations.
>
> Fix by converting to use kvzalloc_node.
>
> Reported-by: Leon Romanovsky <leon@xxxxxxxxxx>
> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxx>
> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx>
> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxx>
> ---
>  drivers/infiniband/hw/hfi1/sdma.c |    9 ++-------
>  1 files changed, 2 insertions(+), 7 deletions(-)
>

Thanks, it fixed missed GFP_NOWARN flag too.

Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux