lkml.org 
[lkml]   [2021]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v25 21/30] mm: Re-introduce vm_flags to do_mmap()
From
Date
On 4/23/2021 3:31 AM, Kirill A. Shutemov wrote:
> On Thu, Apr 15, 2021 at 03:14:10PM -0700, Yu-cheng Yu wrote:
>> There was no more caller passing vm_flags to do_mmap(), and vm_flags was
>> removed from the function's input by:
>>
>> commit 45e55300f114 ("mm: remove unnecessary wrapper function do_mmap_pgoff()").
>>
>> There is a new user now. Shadow stack allocation passes VM_SHADOW_STACK to
>> do_mmap(). Thus, re-introduce vm_flags to do_mmap().
>>
>> Signed-off-by: Yu-cheng Yu <yu-cheng.yu@intel.com>
>> Reviewed-by: Peter Collingbourne <pcc@google.com>
>> Reviewed-by: Kees Cook <keescook@chromium.org>
>> Cc: Andrew Morton <akpm@linux-foundation.org>
>> Cc: Oleg Nesterov <oleg@redhat.com>
>> Cc: linux-mm@kvack.org
>
> Reviewed-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
>

Thanks for reviewing.

Yu-cheng

\
 
 \ /
  Last update: 2021-04-23 18:00    [W:0.059 / U:1.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site