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