Roland Dreier wrote on 13.09.2007 06:33:45:
Also if someone runs a kernel with 64K pages on a machine where they
end up being simulated from 4K pages, do you have the same issue with
the hypervisor ganging together non-contiguous pages?
With todays hypervisor and todays pagesizes and todays
Roland Dreier [EMAIL PROTECTED] wrote on 13.09.2007 06:33:45:
-#define HCA_CAP_MR_PGSIZE_4K 1
-#define HCA_CAP_MR_PGSIZE_64K 2
-#define HCA_CAP_MR_PGSIZE_1M 4
-#define HCA_CAP_MR_PGSIZE_16M 8
+#define HCA_CAP_MR_PGSIZE_4K 0x8000
+#define HCA_CAP_MR_PGSIZE_64K 0x4000
This patchset replaces Nam's previous MR/MW patch (posted by me). I split
the #define fixes into a separate patch and moved the is the memory from
hugetlbfs? code into ib_umem_get().
[1/3] fixes the page size HW cap defines
[2/3] adds the hugetlb test to ib_umem_get()
[3/3] finally uses the
During ib_umem_get(), determine whether all pages from the memory region are
hugetlb pages and report this in the hugetlb field. Low-level driver can
use this information if they need it.
Signed-off-by: Joachim Fenkes [EMAIL PROTECTED]
---
drivers/infiniband/core/umem.c | 20
...because, on virtualized hardware like System p, we can't be sure that the
physical pages behind them are contiguous.
Signed-off-by: Joachim Fenkes [EMAIL PROTECTED]
---
drivers/infiniband/hw/ehca/ehca_mrmw.c | 25 +++--
1 files changed, 15 insertions(+), 10 deletions(-)
For ofed-1.3, please pull from:
git://git.openfabrics.org/~swise/ofed-1.3 ofed_kernel
The 1.3 patch series is identical to the ofed_1_2_c series except that
the first patch, 0029-*, isn't needed since its already in ofed-1.3 from
2.6.23.
Thanks,
Steve.
Steve Wise wrote:
Vlad