On 11/5/20 8:04 AM, Borislav Petkov wrote: ... >> Add a vm_ops->mprotect() hook so that mprotect() operations which are >> inconsistent with any page's stashed intent can be rejected by the driver. >> >> Cc: linux...@kvack.org >> Cc: Andrew Morton <a...@linux-foundation.org> >> Cc: Matthew Wilcox <wi...@infradead.org> >> Acked-by: Jethro Beekman <jet...@fortanix.com> >> Reviewed-by: Darren Kenny <darren.ke...@oracle.com> >> Signed-off-by: Sean Christopherson <sean.j.christopher...@intel.com> >> Co-developed-by: Jarkko Sakkinen <jarkko.sakki...@linux.intel.com> >> Signed-off-by: Jarkko Sakkinen <jarkko.sakki...@linux.intel.com> >> --- >> include/linux/mm.h | 3 +++ >> mm/mprotect.c | 5 ++++- >> 2 files changed, 7 insertions(+), 1 deletion(-) > This needs an ACK from an mm person.
For what it's worth: Acked-by: Dave Hansen <dave.han...@intel.com> The top 5 git-blamees in terms of mprotect.c at the moment are: 45 Andi Kleen 50 Peter Xu 81 Dave Hansen 90 Mel Gorman 209 Linus Torvalds