Re: [GIT PULL] VFIO fix for v6.0-rc5

From: Linus Torvalds
Date: Fri Sep 09 2022 - 07:53:46 EST


On Fri, Sep 9, 2022 at 6:52 AM Alex Williamson
<alex.williamson@xxxxxxxxxx> wrote:
>
> VFIO fix for v6.0-rc5
>
> - Fix zero page refcount leak (Alex Williamson)

Ugh. This is disgusting.

Don't get me wrong - I've pulled this, but I think there's some deeper
problem that made this patch required.

Why is pin_user_pages_remote() taking a reference to a reserved page?
Maybe it just shouldn't (and then obviously we should fix the unpin
case to match too).

Adding a few GUP people to the participants for comments.

Anybody?

Linus