Mike Marciniszyn d6f1c17e16 IB/qib: Change lkey table allocation to support more MRs
The lkey table is allocated with with a get_user_pages() with an
order based on a number of index bits from a module parameter.

The underlying kernel code cannot allocate that many contiguous pages.

There is no reason the underlying memory needs to be physically
contiguous.

This patch:
- switches the allocation/deallocation to vmalloc/vfree
- caps the number of bits to 23 to insure at least 1 generation bit
  o this matches the module parameter description

Cc: stable@vger.kernel.org
Reviewed-by: Vinit Agnihotri <vinit.abhay.agnihotri@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-08-28 22:54:46 -04:00
..
2015-08-14 15:56:32 -07:00
2015-06-26 11:54:29 -07:00
2015-08-21 11:03:06 -07:00
2015-06-13 08:44:14 -07:00
2015-06-26 14:51:15 -07:00
2015-06-23 13:32:38 -07:00
2015-07-23 13:07:04 -07:00
2015-08-23 20:46:22 -07:00
2015-07-02 14:40:49 -07:00
2015-07-24 15:14:04 -06:00
2015-08-13 13:36:22 -07:00