Re: [PATCH 12/31] huge tmpfs: extend get_user_pages_fast to shmem pmd

2016-04-13 Thread Ingo Molnar
* Hugh Dickins wrote: > > > arch/mips/mm/gup.c | 15 ++- > > > arch/s390/mm/gup.c | 19 ++- > > > arch/sparc/mm/gup.c | 19 ++- > > > arch/x86/mm/gup.c | 15 ++- > > > mm/gup.c| 19 ++- > > > 5 fil

Re: [PATCH 12/31] huge tmpfs: extend get_user_pages_fast to shmem pmd

2016-04-06 Thread Hugh Dickins
On Wed, 6 Apr 2016, Ingo Molnar wrote: > * Hugh Dickins wrote: > > > --- > > Cc'ed to arch maintainers as an FYI: this patch is not expected to > > go into the tree in the next few weeks, and depends upon a PageTeam > > definition not yet available outside this huge tmpfs patchset. > > Please ref

Re: [PATCH 12/31] huge tmpfs: extend get_user_pages_fast to shmem pmd

2016-04-06 Thread Ingo Molnar
* Hugh Dickins wrote: > The arch-specific get_user_pages_fast() has a gup_huge_pmd() designed to > optimize the refcounting on anonymous THP and hugetlbfs pages, with one > atomic addition to compound head's common refcount. That optimization > must be avoided on huge tmpfs team pages, which us