Re: [PATCH 14/15] mm: Align THP mappings for non-DAX

2019-10-01 Thread Kirill A. Shutemov
On Tue, Oct 01, 2019 at 10:08:30AM -0600, William Kucharski wrote: > > > > On Oct 1, 2019, at 8:20 AM, Kirill A. Shutemov wrote: > > > > On Tue, Oct 01, 2019 at 06:18:28AM -0600, William Kucharski wrote: > >> > >> > >> On 10/1/19 5:32 AM, Kirill A. Shutemov wrote: > >>> On Tue, Oct 01, 2019 a

Re: [PATCH 14/15] mm: Align THP mappings for non-DAX

2019-10-01 Thread William Kucharski
> On Oct 1, 2019, at 8:20 AM, Kirill A. Shutemov wrote: > > On Tue, Oct 01, 2019 at 06:18:28AM -0600, William Kucharski wrote: >> >> >> On 10/1/19 5:32 AM, Kirill A. Shutemov wrote: >>> On Tue, Oct 01, 2019 at 05:21:26AM -0600, William Kucharski wrote: > On Oct 1, 2019, at 4:

Re: [PATCH 14/15] mm: Align THP mappings for non-DAX

2019-10-01 Thread Kirill A. Shutemov
On Tue, Oct 01, 2019 at 06:18:28AM -0600, William Kucharski wrote: > > > On 10/1/19 5:32 AM, Kirill A. Shutemov wrote: > > On Tue, Oct 01, 2019 at 05:21:26AM -0600, William Kucharski wrote: > > > > > > > > > > On Oct 1, 2019, at 4:45 AM, Kirill A. Shutemov > > > > wrote: > > > > > > > > On T

Re: [PATCH 14/15] mm: Align THP mappings for non-DAX

2019-10-01 Thread William Kucharski
On 10/1/19 5:32 AM, Kirill A. Shutemov wrote: On Tue, Oct 01, 2019 at 05:21:26AM -0600, William Kucharski wrote: On Oct 1, 2019, at 4:45 AM, Kirill A. Shutemov wrote: On Tue, Sep 24, 2019 at 05:52:13PM -0700, Matthew Wilcox wrote: diff --git a/mm/huge_memory.c b/mm/huge_memory.c index

Re: [PATCH 14/15] mm: Align THP mappings for non-DAX

2019-10-01 Thread Kirill A. Shutemov
On Tue, Oct 01, 2019 at 05:21:26AM -0600, William Kucharski wrote: > > > > On Oct 1, 2019, at 4:45 AM, Kirill A. Shutemov wrote: > > > > On Tue, Sep 24, 2019 at 05:52:13PM -0700, Matthew Wilcox wrote: > >> > >> diff --git a/mm/huge_memory.c b/mm/huge_memory.c > >> index cbe7d0619439..670a1780b

Re: [PATCH 14/15] mm: Align THP mappings for non-DAX

2019-10-01 Thread William Kucharski
> On Oct 1, 2019, at 4:45 AM, Kirill A. Shutemov wrote: > > On Tue, Sep 24, 2019 at 05:52:13PM -0700, Matthew Wilcox wrote: >> >> diff --git a/mm/huge_memory.c b/mm/huge_memory.c >> index cbe7d0619439..670a1780bd2f 100644 >> --- a/mm/huge_memory.c >> +++ b/mm/huge_memory.c >> @@ -563,8 +563,6

Re: [PATCH 14/15] mm: Align THP mappings for non-DAX

2019-10-01 Thread Kirill A. Shutemov
On Tue, Sep 24, 2019 at 05:52:13PM -0700, Matthew Wilcox wrote: > From: William Kucharski > > When we have the opportunity to use transparent huge pages to map a > file, we want to follow the same rules as DAX. > > Signed-off-by: William Kucharski > Signed-off-by: Matthew Wilcox (Oracle) > ---

[PATCH 14/15] mm: Align THP mappings for non-DAX

2019-09-24 Thread Matthew Wilcox
From: William Kucharski When we have the opportunity to use transparent huge pages to map a file, we want to follow the same rules as DAX. Signed-off-by: William Kucharski Signed-off-by: Matthew Wilcox (Oracle) --- mm/huge_memory.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/huge_