Re: [PATCHv4 27/39] x86-64, mm: proper alignment mappings with hugepages

From: Dave Hansen
Date: Tue May 21 2013 - 19:20:25 EST


On 05/11/2013 06:23 PM, Kirill A. Shutemov wrote:
> From: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx>
>
> Make arch_get_unmapped_area() return unmapped area aligned to HPAGE_MASK
> if the file mapping can have huge pages.

OK, so there are at least four phases of this patch set which are
distinct to me.

1. Prep work that can go upstream now
2. Making the page cache able to hold compound pages
3. Making thp-cache work with ramfs
4. Making mmap() work with thp-cache

(1) needs to go upstream now.

(2) and (3) are related and should go upstream together. There should
be enough performance benefits from this alone to let them get merged.

(4) has lot of the code complexity, and is certainly required...
eventually. I think you should stop for the _moment_ posting things in
this category and wait until you get the other stuff merged. Go ahead
and keep it in your git tree for toying around with, but don't try to
get it merged until parts 1-3 are in.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/