Re: [PATCH v40 10/24] mm: Add 'mprotect' hook to struct vm_operations_struct
From: Dave Hansen
Date: Thu Nov 05 2020 - 12:33:21 EST
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-mm@xxxxxxxxx
>> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
>> Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx>
>> Acked-by: Jethro Beekman <jethro@xxxxxxxxxxxx>
>> Reviewed-by: Darren Kenny <darren.kenny@xxxxxxxxxx>
>> Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>
>> Co-developed-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
>> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
>> ---
>> 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.hansen@xxxxxxxxx>
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