Re: [PATCH v13 19/26] mm: Re-introduce do_mmap_pgoff()

2020-10-02 Thread Yu, Yu-cheng
On 10/2/2020 3:52 PM, Peter Collingbourne wrote: On Fri, Oct 2, 2020 at 8:58 AM Yu, Yu-cheng wrote: On 10/1/2020 7:06 PM, Peter Collingbourne wrote: On Fri, Sep 25, 2020 at 7:57 AM Yu-cheng Yu wrote: There was no more caller passing vm_flags to do_mmap(), and vm_flags was removed from the

Re: [PATCH v13 19/26] mm: Re-introduce do_mmap_pgoff()

2020-10-02 Thread Peter Collingbourne
On Fri, Oct 2, 2020 at 8:58 AM Yu, Yu-cheng wrote: > > On 10/1/2020 7:06 PM, Peter Collingbourne wrote: > > On Fri, Sep 25, 2020 at 7:57 AM 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: > >> > >>

Re: [PATCH v13 19/26] mm: Re-introduce do_mmap_pgoff()

2020-10-02 Thread Yu, Yu-cheng
On 10/1/2020 7:06 PM, Peter Collingbourne wrote: On Fri, Sep 25, 2020 at 7:57 AM 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

Re: [PATCH v13 19/26] mm: Re-introduce do_mmap_pgoff()

2020-10-01 Thread Peter Collingbourne
On Fri, Sep 25, 2020 at 7:57 AM 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

[PATCH v13 19/26] mm: Re-introduce do_mmap_pgoff()

2020-09-25 Thread Yu-cheng Yu
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_SHSTK to do_mmap(). Re-introduce the