Re: [PATCH 0/5] Speed up mremap on large regions

2020-10-02 Thread Lokesh Gidra
On Thu, Oct 1, 2020 at 10:36 PM Kirill A. Shutemov wrote: > > On Thu, Oct 01, 2020 at 05:09:02PM -0700, Lokesh Gidra wrote: > > On Thu, Oct 1, 2020 at 9:00 AM Kalesh Singh wrote: > > > > > > On Thu, Oct 1, 2020 at 8:27 AM Kirill A. Shutemov > > > wrote: > > > > > > > > On Wed, Sep 30, 2020 at

Re: [PATCH 0/5] Speed up mremap on large regions

2020-10-01 Thread Kirill A. Shutemov
On Thu, Oct 01, 2020 at 05:09:02PM -0700, Lokesh Gidra wrote: > On Thu, Oct 1, 2020 at 9:00 AM Kalesh Singh wrote: > > > > On Thu, Oct 1, 2020 at 8:27 AM Kirill A. Shutemov > > wrote: > > > > > > On Wed, Sep 30, 2020 at 03:42:17PM -0700, Lokesh Gidra wrote: > > > > On Wed, Sep 30, 2020 at 3:32

Re: [PATCH 0/5] Speed up mremap on large regions

2020-10-01 Thread Lokesh Gidra
On Thu, Oct 1, 2020 at 9:00 AM Kalesh Singh wrote: > > On Thu, Oct 1, 2020 at 8:27 AM Kirill A. Shutemov > wrote: > > > > On Wed, Sep 30, 2020 at 03:42:17PM -0700, Lokesh Gidra wrote: > > > On Wed, Sep 30, 2020 at 3:32 PM Kirill A. Shutemov > > > wrote: > > > > > > > > On Wed, Sep 30, 2020 at

Re: [PATCH 0/5] Speed up mremap on large regions

2020-10-01 Thread Kalesh Singh
On Thu, Oct 1, 2020 at 8:27 AM Kirill A. Shutemov wrote: > > On Wed, Sep 30, 2020 at 03:42:17PM -0700, Lokesh Gidra wrote: > > On Wed, Sep 30, 2020 at 3:32 PM Kirill A. Shutemov > > wrote: > > > > > > On Wed, Sep 30, 2020 at 10:21:17PM +, Kalesh Singh wrote: > > > > mremap time can be

Re: [PATCH 0/5] Speed up mremap on large regions

2020-10-01 Thread Kirill A. Shutemov
On Wed, Sep 30, 2020 at 03:42:17PM -0700, Lokesh Gidra wrote: > On Wed, Sep 30, 2020 at 3:32 PM Kirill A. Shutemov > wrote: > > > > On Wed, Sep 30, 2020 at 10:21:17PM +, Kalesh Singh wrote: > > > mremap time can be optimized by moving entries at the PMD/PUD level if > > > the source and

Re: [PATCH 0/5] Speed up mremap on large regions

2020-09-30 Thread Kalesh Singh
On Wed, Sep 30, 2020 at 6:47 PM Joel Fernandes wrote: > > On Wed, Sep 30, 2020 at 6:42 PM Lokesh Gidra wrote: > > > > On Wed, Sep 30, 2020 at 3:32 PM Kirill A. Shutemov > > wrote: > > > > > > On Wed, Sep 30, 2020 at 10:21:17PM +, Kalesh Singh wrote: > > > > mremap time can be optimized by

Re: [PATCH 0/5] Speed up mremap on large regions

2020-09-30 Thread Joel Fernandes
On Wed, Sep 30, 2020 at 6:42 PM Lokesh Gidra wrote: > > On Wed, Sep 30, 2020 at 3:32 PM Kirill A. Shutemov > wrote: > > > > On Wed, Sep 30, 2020 at 10:21:17PM +, Kalesh Singh wrote: > > > mremap time can be optimized by moving entries at the PMD/PUD level if > > > the source and destination

Re: [PATCH 0/5] Speed up mremap on large regions

2020-09-30 Thread Lokesh Gidra
On Wed, Sep 30, 2020 at 3:32 PM Kirill A. Shutemov wrote: > > On Wed, Sep 30, 2020 at 10:21:17PM +, Kalesh Singh wrote: > > mremap time can be optimized by moving entries at the PMD/PUD level if > > the source and destination addresses are PMD/PUD-aligned and > > PMD/PUD-sized. Enable moving

Re: [PATCH 0/5] Speed up mremap on large regions

2020-09-30 Thread Kirill A. Shutemov
On Wed, Sep 30, 2020 at 10:21:17PM +, Kalesh Singh wrote: > mremap time can be optimized by moving entries at the PMD/PUD level if > the source and destination addresses are PMD/PUD-aligned and > PMD/PUD-sized. Enable moving at the PMD and PUD levels on arm64 and > x86. Other architectures

[PATCH 0/5] Speed up mremap on large regions

2020-09-30 Thread Kalesh Singh
mremap time can be optimized by moving entries at the PMD/PUD level if the source and destination addresses are PMD/PUD-aligned and PMD/PUD-sized. Enable moving at the PMD and PUD levels on arm64 and x86. Other architectures where this type of move is supported and known to be safe can also opt-in