Re: [PATCH v4 0/3] Avoid live-lock in btrfs fault-in+uaccess loop
From: Linus Torvalds
Date: Sat Apr 23 2022 - 12:36:10 EST
On Sat, Apr 23, 2022 at 3:07 AM Catalin Marinas <catalin.marinas@xxxxxxx> wrote:
>
> The series introduces fault_in_subpage_writeable() together with the
> arm64 probing counterpart and the btrfs fix.
Looks fine to me - and I think it can probably go through the arm64
tree since you'd be the only one really testing it anyway.
I assume you checked that btrfs is the only one that uses
fault_in_writeable() in this way? Everybody else updates to the right
byte boundary and retries (or returns immediately)?
Linus