Re: [PATCHv4 00/25] THP-enabled tmpfs/shmem

2016-03-28 Thread Hugh Dickins
On Mon, 28 Mar 2016, Kirill A. Shutemov wrote: > > I think I found it. I have refcounting screwed up in faultaround. > > This should fix the problem: Yes, this fixes it for me - thanks. Hugh > > diff --git a/mm/filemap.c b/mm/filemap.c > index 94c097ec08e7..1325bb4568d1 100644 > --- a/mm/file

Re: [PATCHv4 00/25] THP-enabled tmpfs/shmem

2016-03-28 Thread Kirill A. Shutemov
On Fri, Mar 25, 2016 at 05:00:50PM -0700, Hugh Dickins wrote: > On Fri, 25 Mar 2016, Kirill A. Shutemov wrote: > > On Thu, Mar 24, 2016 at 12:08:55PM -0700, Hugh Dickins wrote: > > > On Thu, 24 Mar 2016, Kirill A. Shutemov wrote: > > > > On Wed, Mar 23, 2016 at 01:09:05PM -0700, Hugh Dickins wrote:

Re: [PATCHv4 00/25] THP-enabled tmpfs/shmem

2016-03-28 Thread Kirill A. Shutemov
On Wed, Mar 23, 2016 at 01:09:05PM -0700, Hugh Dickins wrote: > On Sat, 12 Mar 2016, Kirill A. Shutemov wrote: ... > As I've said on several occasions, I am not interested in emulating > the limitations of hugetlbfs inside tmpfs: there might one day be a > case for such a project, but it's transpar

Re: [PATCHv4 00/25] THP-enabled tmpfs/shmem

2016-03-25 Thread Hugh Dickins
On Fri, 25 Mar 2016, Kirill A. Shutemov wrote: > On Thu, Mar 24, 2016 at 12:08:55PM -0700, Hugh Dickins wrote: > > On Thu, 24 Mar 2016, Kirill A. Shutemov wrote: > > > On Wed, Mar 23, 2016 at 01:09:05PM -0700, Hugh Dickins wrote: > > > > The small files thing formed my first impression. My second

Re: [PATCHv4 00/25] THP-enabled tmpfs/shmem

2016-03-25 Thread Kirill A. Shutemov
On Thu, Mar 24, 2016 at 12:08:55PM -0700, Hugh Dickins wrote: > On Thu, 24 Mar 2016, Kirill A. Shutemov wrote: > > On Wed, Mar 23, 2016 at 01:09:05PM -0700, Hugh Dickins wrote: > > > The small files thing formed my first impression. My second > > > impression was similar, when I tried mmap(NULL, s

Re: [PATCHv4 00/25] THP-enabled tmpfs/shmem

2016-03-24 Thread Hugh Dickins
On Thu, 24 Mar 2016, Kirill A. Shutemov wrote: > On Wed, Mar 23, 2016 at 01:09:05PM -0700, Hugh Dickins wrote: > > The small files thing formed my first impression. My second > > impression was similar, when I tried mmap(NULL, size_of_RAM, > > PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_SHARED, -1, 0)

Re: [PATCHv4 00/25] THP-enabled tmpfs/shmem

2016-03-24 Thread Kirill A. Shutemov
On Wed, Mar 23, 2016 at 01:09:05PM -0700, Hugh Dickins wrote: > The small files thing formed my first impression. My second > impression was similar, when I tried mmap(NULL, size_of_RAM, > PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_SHARED, -1, 0) and > cycled around the arena touching all the pages (

Re: [PATCHv4 00/25] THP-enabled tmpfs/shmem

2016-03-23 Thread Hugh Dickins
On Sat, 12 Mar 2016, Kirill A. Shutemov wrote: > Here is an updated version of huge pages support implementation in > tmpfs/shmem. > > All known issues has been fixed. I'll continue with validation. > I will also send follow up patch with documentation update. > > Hugh, I would be glad to hear y

[PATCHv4 00/25] THP-enabled tmpfs/shmem

2016-03-11 Thread Kirill A. Shutemov
Here is an updated version of huge pages support implementation in tmpfs/shmem. All known issues has been fixed. I'll continue with validation. I will also send follow up patch with documentation update. Hugh, I would be glad to hear your opinion on this patchset. The main difference with Hugh's