]> asedeno.scripts.mit.edu Git - linux.git/commit
IB/hfi1: Allocate context data on memory node
authorSebastian Sanchez <sebastian.sanchez@intel.com>
Wed, 8 Feb 2017 13:26:37 +0000 (05:26 -0800)
committerDoug Ledford <dledford@redhat.com>
Sun, 19 Feb 2017 14:18:36 +0000 (09:18 -0500)
commitb448bf9a0df6093dbadac36979a55ce4e012a677
tree189b92318fe2026089402ffa56daec2ea2c49166
parent338adfdddf6abe89726e1146ad3102ce9663a634
IB/hfi1: Allocate context data on memory node

There are some memory allocation calls in hfi1_create_ctxtdata()
that do not use the numa function parameter. This
can cause cache lines to be filled over QPI.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/init.c