On 07/21/2015 08:36 AM, Mike Marciniszyn wrote: > 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: sta...@vger.kernel.org > Reviewed-by: Vinit Agnihotri <vinit.abhay.agniho...@intel.com> > Signed-off-by: Mike Marciniszyn <mike.marcinis...@intel.com>
Thanks, I've picked this up for 4.3. -- Doug Ledford <dledf...@redhat.com> GPG KeyID: 0E572FDD
signature.asc
Description: OpenPGP digital signature