Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1481105
| From | "Kirill A. Shutemov" <kirill@shutemov.name> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] shmem: call __thp_get_unmapped_area to alloc a pmd-aligned addr |
| Date | 2016-09-12 12:10 +0200 |
| Message-ID | <sgwlz-1OL-13@gated-at.bofh.it> (permalink) |
| References | <sfCt3-jt-3@gated-at.bofh.it> <sfCt3-jt-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 <kirill.shutemov@linux.intel.com> > Signed-off-by: Toshi Kani <toshi.kani@hpe.com> > Cc: Andrew Morton <akpm@linux-foundation.org> > Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> > Cc: Hugh Dickins <hughd@google.com> > Cc: Matthew Wilcox <mawilcox@microsoft.com> > Cc: Dan Williams <dan.j.williams@intel.com> Looks good to me. Thanks. Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> -- Kirill A. Shutemov
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 2/2] shmem: call __thp_get_unmapped_area to alloc a pmd-aligned addr Toshi Kani <toshi.kani@hpe.com> - 2016-09-10 00:30 +0200 Re: [PATCH 2/2] shmem: call __thp_get_unmapped_area to alloc a pmd-aligned addr "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-09-12 12:10 +0200
csiph-web