commit | 70216c40f61a4aff5cae188c051796b8c07b233d | [log] [tgz] |
---|---|---|
author | Andrea Arcangeli <aarcange@redhat.com> | Fri Jan 15 21:18:22 2021 -0500 |
committer | Andrea Arcangeli <aarcange@redhat.com> | Sat Nov 11 22:03:35 2023 -0500 |
tree | 771e95c39157f532386d81e843e40d352c2a721f | |
parent | 63e087ffb8251bf64f6a20cfd068ce9e1ea305f5 [diff] |
mm: gup: gup_must_unshare() Introduce gup_must_unshare(): the GUP logic that decides on which pages to activate the GUP unsharing with the COR fault (setting FAULT_FLAG_UNSHARE) while taking readonly page pins on all write-protected pages. Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>