Thread (73 messages) read the whole thread 73 messages, 4 authors, 2013-04-19

Re: [PATCH -V5 14/25] mm/THP: HPAGE_SHIFT is not a #define on some arch

From: David Gibson <hidden>
Date: 2013-04-11 03:42:03
Also in: linux-mm

On Thu, Apr 04, 2013 at 11:27:52AM +0530, Aneesh Kumar K.V wrote:
From: "Aneesh Kumar K.V" <redacted>

On archs like powerpc that support different hugepage sizes, HPAGE_SHIFT
and other derived values like HPAGE_PMD_ORDER are not constants. So move
that to hugepage_init

Cc: Andrea Arcangeli <redacted>
Signed-off-by: Aneesh Kumar K.V <redacted>
Looks ok to me.

Reviewed-by: David Gibson <redacted>

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help