commit | def8228452f87d05bd43ac21aeaf894ca081bca4 | [log] [tgz] |
---|---|---|
author | Mitko Haralanov <mitko.haralanov@intel.com> | Tue Dec 08 17:10:09 2015 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Dec 21 13:57:55 2015 -0800 |
tree | 67c871853465deffa80936ee0e8adaa4ac490210 | |
parent | 483119a760639858ce2369a314d1bd93a3db3062 [diff] |
staging/rdma/hfi1: Convert to use get_user_pages_fast Convert hfi1_get_user_pages() to use get_user_pages_fast(), which is much fatster. The mm semaphore is still taken to update the pinned page count but is for a much shorter amount of time. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>