Re: [PATCH 2/2] shmem: call __thp_get_unmapped_area to alloc a pmd-aligned addr
From: Kirill A. Shutemov <hidden>
Date: 2016-09-12 10:02:45
Also in:
lkml, nvdimm
From: Kirill A. Shutemov <hidden>
Date: 2016-09-12 10:02:45
Also in:
lkml, nvdimm
On Fri, Sep 09, 2016 at 04:24:23PM -0600, Toshi Kani wrote:
shmem_get_unmapped_area() provides a functionality similar to __thp_get_unmapped_area() as both allocate a pmd-aligned address. Change shmem_get_unmapped_area() to do shm-specific checks and then call __thp_get_unmapped_area() for allocating a pmd-aligned address. link: https://lkml.org/lkml/2016/8/29/620 Suggested-by: Kirill A. Shutemov <redacted> Signed-off-by: Toshi Kani <redacted> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Kirill A. Shutemov <redacted> Cc: Hugh Dickins <hughd@google.com> Cc: Matthew Wilcox <redacted> Cc: Dan Williams <redacted>
Looks good to me. Thanks. Acked-by: Kirill A. Shutemov <redacted> -- Kirill A. Shutemov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>