Updated MMAP/SHMGET 1GB patchkit

From: Andi Kleen
Date: Mon Nov 05 2012 - 18:24:10 EST


This is the updated patchkit to allow to use 1GB pages for mmap/shmget
directly. This is needed for various software and makes it far more
convenient to use 1GB pages.

There were a lot of discussions on the ABI of v6 due to a conflict of
the new bits with the NOMMU only feature MAP_UNINITIALIZED.

However I don't think this matters at all because this feature
only works with HUGETLBFS and HUGETLBFS and NOMMU are mutually
exclusive. So any architecture which suppors HUGETLBFS will
never do MAP_UNINITIALIZED and vice versa. So there's no
actual conflict in these flags.

Based on that I don't think any changes are needed.

So I decided to just repost with a rebase.

Please consider applying,

Thanks,
-Andi

--
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/