On 02/11/2019 05:15 PM, Davidlohr Bueso wrote: > Holding mmap_sem exclusively for a gup() is an overkill. > Lets share the lock and replace the gup call for gup_longterm(), > as it is better suited for the lifetime of the pinning. > > Cc: David S. Miller <da...@davemloft.net> > Cc: Bjorn Topel <bjorn.to...@intel.com> > Cc: Magnus Karlsson <magnus.karls...@intel.com> > CC: netdev@vger.kernel.org > Signed-off-by: Davidlohr Bueso <dbu...@suse.de>
Applied, thanks!