aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/ud_header.c
diff options
context:
space:
mode:
authorGuy Shapiro <guysh@mellanox.com>2015-04-15 18:17:57 +0300
committerDoug Ledford <dledford@redhat.com>2015-05-05 09:18:02 -0400
commit325ad0617adaf163e32dd2d857b90baf65a25b5b (patch)
tree13383cd4f5442a70bff01f0f55d8007fcb03002a /drivers/infiniband/core/ud_header.c
parentIB/core: dma map/unmap locking optimizations (diff)
downloadlinux-dev-325ad0617adaf163e32dd2d857b90baf65a25b5b.tar.xz
linux-dev-325ad0617adaf163e32dd2d857b90baf65a25b5b.zip
IB/core: dma unmap optimizations
While unmapping an ODP writable page, the dirty bit of the page is set. In order to do so, the head of the compound page is found. Currently, the compound head is found even on non-writable pages, where it is never used, leading to unnecessary cpu barrier that impacts performance. This patch moves the search for the compound head to be done only when needed. Signed-off-by: Guy Shapiro <guysh@mellanox.com> Acked-by: Shachar Raindel <raindel@mellanox.com> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/ud_header.c')
0 files changed, 0 insertions, 0 deletions