diff options
| author | Mike Marciniszyn <[email protected]> | 2015-07-21 08:36:07 -0400 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2015-08-28 22:54:46 -0400 |
| commit | d6f1c17e162b2a11e708f28fa93f2f79c164b442 (patch) | |
| tree | aa1a64585e9a27ae91aeb8ae229ac4636162d297 /scripts/objdiff | |
| parent | e0238a6a369eaa2e41b2c0321453272fb859f618 (diff) | |
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: [email protected]
Reviewed-by: Vinit Agnihotri <[email protected]>
Signed-off-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions