From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx196.postini.com [74.125.245.196]) by kanga.kvack.org (Postfix) with SMTP id 2EFD46B0005 for ; Wed, 3 Apr 2013 13:00:14 -0400 (EDT) Date: Wed, 3 Apr 2013 12:00:12 -0500 From: Robin Holt Subject: Re: [PATCH] mm, x86: Do not zero hugetlbfs pages at boot. -v2 Message-ID: <20130403170012.GY29151@sgi.com> References: <20130314085138.GA11636@dhcp22.suse.cz> <20130403024344.GA4384@sgi.com> <20130403140247.GJ16471@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130403140247.GJ16471@dhcp22.suse.cz> Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Robin Holt , Cliff Wickman , linux-kernel@vger.kernel.org, linux-mm@kvack.org, x86@kernel.org, wli@holomorphy.com On Wed, Apr 03, 2013 at 04:02:47PM +0200, Michal Hocko wrote: > On Tue 02-04-13 21:43:44, Robin Holt wrote: > [...] > > diff --git a/mm/hugetlb.c b/mm/hugetlb.c > > index ca9a7c6..7683f6a 100644 > > --- a/mm/hugetlb.c > > +++ b/mm/hugetlb.c > > @@ -1185,7 +1185,7 @@ int __weak alloc_bootmem_huge_page(struct hstate *h) > > while (nr_nodes) { > > void *addr; > > > > - addr = __alloc_bootmem_node_nopanic( > > + addr = __alloc_bootmem_node_nopanic_notzeroed( > > NODE_DATA(hstate_next_node_to_alloc(h, > > &node_states[N_MEMORY])), > > huge_page_size(h), huge_page_size(h), 0); > > Ohh, and powerpc seems to have its own opinion how to allocate huge > pages. See arch/powerpc/mm/hugetlbpage.c Do I need to address their allocations? Can I leave that part of the changes as something powerpc can address if they are affected by this? Robin -- 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: email@kvack.org