[PATCH v4 0/2] add callbacks for inaccessible pages

Claudio Imbrenda
2020-03-06T13:25:51Z

This patchset has a fixup for gup/mm, and provides the necessary arch
hooks to enable protected virtualization.

Andrew: please simply squash/fixup the first patch into the appropriate
one that is already in your tree.

v3-> v4:
* changed WARN_ON into VM_BUG_ON_PAGE as per review,
* and small improvement of the associated comment
v2 -> v3:
* revert some cosmetic changes to improve readability
* improve some comments
v1 -> v2:
* use put_compound_head in the first patch
* fix commit message of the second patch
* minor code cleanups
* some comments to explain why sometimes we are not doing things

Claudio Imbrenda (2):
mm/gup: fixup for 9947ea2c1e608e32 "mm/gup: track FOLL_PIN pages"
mm/gup/writeback: add callbacks for inaccessible pages

include/linux/gfp.h | 6 ++++
mm/gup.c | 76 +++++++++++++++++++++++++++++----------------
mm/page-writeback.c | 9 +++++-
3 files changed, 64 insertions(+), 27 deletions(-)

--
2.24.1