[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ec544ae4-4671-de96-69c2-2f438f048a83@iogearbox.net>
Date: Mon, 11 Feb 2019 20:53:37 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
"David S . Miller" <davem@...emloft.net>,
Bjorn Topel <bjorn.topel@...el.com>,
Magnus Karlsson <magnus.karlsson@...el.com>,
netdev@...r.kernel.org, Davidlohr Bueso <dbueso@...e.de>
Subject: Re: [PATCH v2] xsk: share the mmap_sem for page pinning
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 <davem@...emloft.net>
> Cc: Bjorn Topel <bjorn.topel@...el.com>
> Cc: Magnus Karlsson <magnus.karlsson@...el.com>
> CC: netdev@...r.kernel.org
> Signed-off-by: Davidlohr Bueso <dbueso@...e.de>
Applied, thanks!
Powered by blists - more mailing lists