Re: [PATCH 1/8] mm: Add optional support for PUD-sized transparent hugepages

2016-01-04 Thread Kirill A. Shutemov
On Sat, Jan 02, 2016 at 12:06:38PM -0500, Matthew Wilcox wrote: > On Mon, Dec 28, 2015 at 12:05:51PM +0200, Kirill A. Shutemov wrote: > > On Thu, Dec 24, 2015 at 11:20:30AM -0500, Matthew Wilcox wrote: > > > diff --git a/include/linux/mm.h b/include/linux/mm.h > > > index 4bf3811..e14634f 100644 >

Re: [PATCH 1/8] mm: Add optional support for PUD-sized transparent hugepages

2016-01-04 Thread Kirill A. Shutemov
On Sat, Jan 02, 2016 at 12:06:38PM -0500, Matthew Wilcox wrote: > On Mon, Dec 28, 2015 at 12:05:51PM +0200, Kirill A. Shutemov wrote: > > On Thu, Dec 24, 2015 at 11:20:30AM -0500, Matthew Wilcox wrote: > > > diff --git a/include/linux/mm.h b/include/linux/mm.h > > > index 4bf3811..e14634f 100644 >

Re: [PATCH 1/8] mm: Add optional support for PUD-sized transparent hugepages

2016-01-02 Thread Matthew Wilcox
On Mon, Dec 28, 2015 at 12:05:51PM +0200, Kirill A. Shutemov wrote: > On Thu, Dec 24, 2015 at 11:20:30AM -0500, Matthew Wilcox wrote: > > diff --git a/include/linux/mm.h b/include/linux/mm.h > > index 4bf3811..e14634f 100644 > > --- a/include/linux/mm.h > > +++ b/include/linux/mm.h > > @@ -1958,6

Re: [PATCH 1/8] mm: Add optional support for PUD-sized transparent hugepages

2016-01-02 Thread Matthew Wilcox
On Mon, Dec 28, 2015 at 12:05:51PM +0200, Kirill A. Shutemov wrote: > On Thu, Dec 24, 2015 at 11:20:30AM -0500, Matthew Wilcox wrote: > > diff --git a/include/linux/mm.h b/include/linux/mm.h > > index 4bf3811..e14634f 100644 > > --- a/include/linux/mm.h > > +++ b/include/linux/mm.h > > @@ -1958,6

Re: [PATCH 1/8] mm: Add optional support for PUD-sized transparent hugepages

2015-12-28 Thread Kirill A. Shutemov
On Thu, Dec 24, 2015 at 11:20:30AM -0500, Matthew Wilcox wrote: > The only major difference is how the new ->pud_entry method in mm_walk > works. The ->pmd_entry method replaces the ->pte_entry method, whereas > the ->pud_entry method works along with either ->pmd_entry or ->pte_entry. I think

Re: [PATCH 1/8] mm: Add optional support for PUD-sized transparent hugepages

2015-12-28 Thread Kirill A. Shutemov
On Thu, Dec 24, 2015 at 11:20:30AM -0500, Matthew Wilcox wrote: > diff --git a/include/linux/mm.h b/include/linux/mm.h > index 4bf3811..e14634f 100644 > --- a/include/linux/mm.h > +++ b/include/linux/mm.h > @@ -1958,6 +1977,17 @@ static inline spinlock_t *pmd_lock(struct mm_struct > *mm, pmd_t

Re: [PATCH 1/8] mm: Add optional support for PUD-sized transparent hugepages

2015-12-28 Thread Kirill A. Shutemov
On Thu, Dec 24, 2015 at 11:20:30AM -0500, Matthew Wilcox wrote: > diff --git a/include/linux/mm.h b/include/linux/mm.h > index 4bf3811..e14634f 100644 > --- a/include/linux/mm.h > +++ b/include/linux/mm.h > @@ -1958,6 +1977,17 @@ static inline spinlock_t *pmd_lock(struct mm_struct > *mm, pmd_t

Re: [PATCH 1/8] mm: Add optional support for PUD-sized transparent hugepages

2015-12-28 Thread Kirill A. Shutemov
On Thu, Dec 24, 2015 at 11:20:30AM -0500, Matthew Wilcox wrote: > The only major difference is how the new ->pud_entry method in mm_walk > works. The ->pmd_entry method replaces the ->pte_entry method, whereas > the ->pud_entry method works along with either ->pmd_entry or ->pte_entry. I think

[PATCH 1/8] mm: Add optional support for PUD-sized transparent hugepages

2015-12-24 Thread Matthew Wilcox
From: Matthew Wilcox The current transparent hugepage code only supports PMDs. This patch adds support for transparent use of PUDs with DAX. It does not include support for anonymous pages. Most of this patch simply parallels the work that was done for huge PMDs. The only major difference is

[PATCH 1/8] mm: Add optional support for PUD-sized transparent hugepages

2015-12-24 Thread Matthew Wilcox
From: Matthew Wilcox The current transparent hugepage code only supports PMDs. This patch adds support for transparent use of PUDs with DAX. It does not include support for anonymous pages. Most of this patch simply parallels the work that was done for huge PMDs. The