]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
IB/mlx4: Use pgprot_writecombine() for BlueFlame pages
authorRoland Dreier <rdreier@cisco.com>
Mon, 30 Mar 2009 15:31:05 +0000 (08:31 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 30 Mar 2009 15:31:05 +0000 (08:31 -0700)
commite1d60ec6699f19b760df8261e922ae236ea7bb31
tree6a28185f550d78bf36cf5b7e7d411f204d0a2ad1
parent5d80f8e5a9dc9c9a94d4aeaa567e219a808b8a4a
IB/mlx4: Use pgprot_writecombine() for BlueFlame pages

The PAT work on x86 has finally made pgprot_writecombine() a usable API
for modular drivers.  As the comment indicates, this is exactly what we
want to use in mlx4_ib to map BlueFlame pages up to userspace, since
using WC for these pages improves small message latency significantly.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/main.c