summaryrefslogtreecommitdiff
path: root/include/linux/net
diff options
context:
space:
mode:
authorOmer Shpigelman <oshpigelman@habana.ai>2020-06-28 21:15:53 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2020-09-22 18:49:53 +0300
commit7c52fb0a096aecd6b7ef474e9037db2194570162 (patch)
treec58cdd48542db0cb423363b24a4d5a0c10b94a26 /include/linux/net
parent1fb2f3743754994fec412f63a12cbc4d72f49e38 (diff)
habanalabs: use smallest possible alignment for virtual addresses
Change the acquiring of a device virtual address for mapping by using the smallest possible alignment, rather than the biggest, depending on the page size used by the user for allocating the memory. This will lower the virtual space memory consumption. Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'include/linux/net')
0 files changed, 0 insertions, 0 deletions