| From: |
| aarcange@redhat.com |
| To: |
| linux-mm@kvack.org, akpm@linux-foundation.org |
| Subject: |
| [patch 00/35] Transparent Hugepage support #13 |
| Date: |
| Tue, 09 Mar 2010 20:39:01 +0100 |
| Cc: |
| Marcelo Tosatti <mtosatti@redhat.com>, Adam Litke <agl@us.ibm.com>,
Avi Kivity <avi@redhat.com>, Izik Eidus <ieidus@redhat.com>,
Hugh Dickins <hugh.dickins@tiscali.co.uk>,
Nick Piggin <npiggin@suse.de>, Rik van Riel <riel@redhat.com>,
Mel Gorman <mel@csn.ul.ie>, Dave Hansen <dave@linux.vnet.ibm.com>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Ingo Molnar <mingo@elte.hu>, Mike Travis <travis@sgi.com>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
Christoph Lameter <cl@linux-foundation.org>,
Chris Wright <chrisw@sous-sol.org>, bpicco@redhat.com,
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>,
Balbir Singh <balbir@linux.vnet.ibm.com>,
Arnd Bergmann <arnd@arndb.de>, "Michael S. Tsirkin" <mst@redhat.com>,
Peter Zijlstra <peterz@infradead.org> |
Hello,
This is against 2.6.34-rc1, no other change compared to #12 other than
disabling defrag for anything but khugepaged because current direct reclaim is
too slow to run it for hugepages allocations during page faults. We'll enable
it again for MADV_HUGEPAGE page faults later with memory compaction when there
will be better chance that it's useful CPU work.
I assume if this will be merged the "memory compaction core" from Mel will plug
nicely on top of this by altering alloc_hugepage() accordingly.
Hopefully this is polished enough, the main gripe is left is the #ifdef in the
futex code pointed out by Peter, but without knowing the details of gup_fast of
whatever new architecture that will be able to mix regular pages and hugepages
in the same vma, it's hard to tell what is the cleanest way to abstract that
code. Feel free to give a direction on how to change it, if that patch isn't
polished enough.
http://www.kernel.org/pub/linux/kernel/people/andrea/patc...
Thanks,
Andrea
--
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>