[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <01000168726760d6-6c4f2b48-870e-4a46-846b-3bb3d324000d-000000@email.amazonses.com>
Date: Mon, 21 Jan 2019 21:53:24 +0000
From: Christopher Lameter <cl@...ux.com>
To: Davidlohr Bueso <dave@...olabs.net>
cc: akpm@...ux-foundation.org, dledford@...hat.com, jgg@...lanox.com,
jack@...e.de, ira.weiny@...el.com, linux-rdma@...r.kernel.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Davidlohr Bueso <dbueso@...e.de>
Subject: Re: [PATCH 6/6] drivers/IB,core: reduce scope of mmap_sem
On Mon, 21 Jan 2019, Davidlohr Bueso wrote:
> ib_umem_get() uses gup_longterm() and relies on the lock to
> stabilze the vma_list, so we cannot really get rid of mmap_sem
> altogether, but now that the counter is atomic, we can get of
> some complexity that mmap_sem brings with only pinned_vm.
Reviewd-by: Christoph Lameter <cl@...ux.com>
Powered by blists - more mailing lists