]> err.no Git - linux-2.6/commit
IB/umem: Add hugetlb flag to struct ib_umem
authorJoachim Fenkes <fenkes@de.ibm.com>
Thu, 13 Sep 2007 16:15:28 +0000 (18:15 +0200)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 02:59:13 +0000 (19:59 -0700)
commitc8d8beea0383e47c9d65d45f0ca95626ec435fcd
tree00f409205683f3489344eb0cf1b86f8091354fc7
parent247e020ee5e2a7bf46f2d7a3d4490a670a712a40
IB/umem: Add hugetlb flag to struct ib_umem

During ib_umem_get(), determine whether all pages from the memory
region are hugetlb pages and report this in the "hugetlb" member.
Low-level drivers can use this information if they need it.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/umem.c
include/rdma/ib_umem.h