Skip to content

Commit

Permalink
Allow USDM to decide NUMA node to allocate on
Browse files Browse the repository at this point in the history
Change-Id: I9bcd63b4f908743d5468f418373e9accfb4c3c7e
Signed-off-by: Steve Linsell <stevenx.linsell@intel.com>
  • Loading branch information
stevelinsell committed Oct 20, 2017
1 parent 5d50eba commit 6fbd8bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmn_mem_drv_inf.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void *qaeCryptoMemAlloc(size_t memsize, const char *file, int line)
return NULL;
}

pAddress = qaeMemAllocNUMA(memsize, 0, QAT_BYTE_ALIGNMENT);
pAddress = qaeMemAllocNUMA(memsize, NUMA_ANY_NODE, QAT_BYTE_ALIGNMENT);
MEM_DEBUG("Address: %p Size: %d File: %s:%d\n", pAddress,
memsize, file, line);
if ((rc = pthread_mutex_unlock(&mem_mutex)) != 0) {
Expand Down

0 comments on commit 6fbd8bf

Please sign in to comment.