RE: [PATCH v3] ib_umem_release should decrement mm->pinned_vm from ib_umem_get

2014-09-15 Thread Shachar Raindel
> -Original Message- > From: Shawn Bohrer [mailto:shawn.boh...@gmail.com] > Sent: Wednesday, September 03, 2014 8:15 PM > To: Roland Dreier > Cc: Sean Hefty; hal.rosenst...@gmail.com; linux-r...@vger.kernel.org; > linux-kernel@vger.kernel.org; t...@rgmadvisors.com; Yishai Hadas; Or > Gerl

Re: [PATCH v3] ib_umem_release should decrement mm->pinned_vm from ib_umem_get

2014-09-15 Thread Shawn Bohrer
On Wed, Sep 03, 2014 at 12:13:57PM -0500, Shawn Bohrer wrote: > From: Shawn Bohrer > > In debugging an application that receives -ENOMEM from ib_reg_mr() I > found that ib_umem_get() can fail because the pinned_vm count has > wrapped causing it to always be larger than the lock limit even with >