linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [patch 00/21] hugetlb multi size, giant hugetlb support, etc
@ 2008-06-03  9:59 npiggin
  2008-06-03  9:59 ` [patch 01/21] hugetlb: factor out prep_new_huge_page npiggin
                   ` (23 more replies)
  0 siblings, 24 replies; 51+ messages in thread
From: npiggin @ 2008-06-03  9:59 UTC (permalink / raw)
  To: akpm; +Cc: Nishanth Aravamudan, linux-mm, kniht, andi, abh, joachim.deguara

Hi,

Here is my submission to be merged in -mm. Given the amount of hunks this
patchset has, and the recent flurry of hugetlb development work, I'd hope to
get this merged up provided there aren't major issues (I would prefer to fix
minor ones with incremental patches). It's just a lot of error prone work to
track -mm when multiple concurrent development is happening.

Patch against latest mmotm.


What I have done for the user API issues with this release is to take the
safe way out and just maintain the existing hugepages user interfaces
unchanged. I've integrated Nish's sysfs API to control the other huge
page sizes.

I had initially opted to drop the /proc/sys/vm/* parts of the changes, but
I found that the libhugetlbfs suite continued to have failures, so I
decided to revert the multi column /proc/meminfo changes too, for now.

I say for now, because it is very easy to subsequently agree on some
extention to the API, but it is much harder to revert such an extention once
it has been made. I also think the main thing at this point is to get the
existing patchset merged. User API changes I really don't want to worry
with at the moment... point is: the infrastructure changes are a lot of
work to code, but not so hard to get right; the user API changes are
easy to code but harder to get right.

New to this patchset: I have implemented a default_hugepagesz= boot option
(defaulting to the arch's HPAGE_SIZE if unspecified), which can be used to
specify the default hugepage size for all /proc/* files, SHM, and default
hugetlbfs mount size. This is the best compromise I could find to keep back
compatibility while allowing the possibility to try different sizes with
legacy code.

One thing I worry about is whether the sysfs API is going to be foward
compatible with NUMA allocation changes that might be in the pipe.
This need not hold up a merge into -mm, but I'd like some reassurances
that thought is put in before it goes upstream.

Lastly, embarassingly, I'm not the best source of information for the
sysfs tunables, so incremental patches against Documentation/ABI would
be welcome :P

Thanks,
Nick
-- 

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

^ permalink raw reply	[flat|nested] 51+ messages in thread
* [patch 00/21] hugetlb patches resend
@ 2008-06-04 11:29 npiggin
  2008-06-04 11:29 ` [patch 14/21] x86: add hugepagesz option on 64-bit npiggin
  0 siblings, 1 reply; 51+ messages in thread
From: npiggin @ 2008-06-04 11:29 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm

I've resynced to the latest mmotm, and expanded / added rationale in
the changelogs where I've thought it to be appropriate.
-- 

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

^ permalink raw reply	[flat|nested] 51+ messages in thread

end of thread, other threads:[~2008-06-06 17:12 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-03  9:59 [patch 00/21] hugetlb multi size, giant hugetlb support, etc npiggin
2008-06-03  9:59 ` [patch 01/21] hugetlb: factor out prep_new_huge_page npiggin
2008-06-03  9:59 ` [patch 02/21] hugetlb: modular state npiggin
2008-06-03 10:58   ` [patch 02/21] hugetlb: modular state (take 2) Nick Piggin
2008-06-03  9:59 ` [patch 03/21] hugetlb: multiple hstates npiggin
2008-06-03 10:00 ` [patch 04/21] hugetlbfs: per mount hstates npiggin
2008-06-03 10:00 ` [patch 05/21] hugetlb: new sysfs interface npiggin
2008-06-03 10:00 ` [patch 06/21] hugetlb: abstract numa round robin selection npiggin
2008-06-03 10:00 ` [patch 07/21] mm: introduce non panic alloc_bootmem npiggin
2008-06-03 10:00 ` [patch 08/21] mm: export prep_compound_page to mm npiggin
2008-06-03 10:00 ` [patch 09/21] hugetlb: support larger than MAX_ORDER npiggin
2008-06-03 10:00 ` [patch 10/21] hugetlb: support boot allocate different sizes npiggin
2008-06-03 10:00 ` [patch 11/21] hugetlb: printk cleanup npiggin
2008-06-03 10:00 ` [patch 12/21] hugetlb: introduce pud_huge npiggin
2008-06-03 10:00 ` [patch 13/21] x86: support GB hugepages on 64-bit npiggin
2008-06-03 10:00 ` [patch 14/21] x86: add hugepagesz option " npiggin
2008-06-03 17:48   ` Dave Hansen
2008-06-03 18:24     ` Andi Kleen
2008-06-03 18:59       ` Dave Hansen
2008-06-03 20:57         ` Andi Kleen
2008-06-03 21:27           ` Dave Hansen
2008-06-04  0:06             ` Andi Kleen
2008-06-04  1:04               ` Nick Piggin
2008-06-04 16:01                 ` Dave Hansen
2008-06-06 16:09                   ` Dave Hansen
2008-06-05 23:15               ` Nishanth Aravamudan
2008-06-06  0:29                 ` Andi Kleen
2008-06-04  1:10           ` Nick Piggin
2008-06-05 23:12             ` Nishanth Aravamudan
2008-06-05 23:23               ` Nishanth Aravamudan
2008-06-03 19:00       ` Dave Hansen
2008-06-03 10:00 ` [patch 15/21] hugetlb: override default huge page size npiggin
2008-06-03 10:00 ` [patch 16/21] hugetlb: allow arch overried hugepage allocation npiggin
2008-06-03 10:00 ` [patch 17/21] powerpc: function to allocate gigantic hugepages npiggin
2008-06-03 10:00 ` [patch 18/21] powerpc: scan device tree for gigantic pages npiggin
2008-06-03 10:00 ` [patch 19/21] powerpc: define support for 16G hugepages npiggin
2008-06-03 10:00 ` [patch 20/21] fs: check for statfs overflow npiggin
2008-06-03 10:00 ` [patch 21/21] powerpc: support multiple hugepage sizes npiggin
2008-06-03 10:29 ` [patch 1/1] x86: get_user_pages_lockless support 1GB hugepages Nick Piggin
2008-06-03 10:57 ` [patch 00/21] hugetlb multi size, giant hugetlb support, etc Nick Piggin
2008-06-06 17:12   ` Andy Whitcroft
2008-06-04  8:29 ` Andrew Morton
2008-06-04  9:35   ` Nick Piggin
2008-06-04  9:46     ` Andrew Morton
2008-06-04 11:04       ` Nick Piggin
2008-06-04 11:33       ` Nick Piggin
2008-06-04 11:57   ` Andi Kleen
2008-06-04 18:39     ` Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2008-06-04 11:29 [patch 00/21] hugetlb patches resend npiggin
2008-06-04 11:29 ` [patch 14/21] x86: add hugepagesz option on 64-bit npiggin
2008-06-04 17:51   ` Randy Dunlap
2008-06-05  2:01     ` Nick Piggin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).