On Sat, Feb 16, 2019 at 04:15:52AM -0800, Davidlohr Bueso wrote: > [PATCH] drivers/IB,qib: Fix pinned/locked limit check in qib_get_user_pages() > > The current check does not take into account the previous value of > pinned_vm; thus it is quite bogus as is. Fix this by checking the > new value after the (optimistic) atomic inc. > > Signed-off-by: Davidlohr Bueso <dbueso@xxxxxxx> > -- > drivers/infiniband/hw/qib/qib_user_pages.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to for-next thanks Jason