login
Header Space

 
 

Re: [patch 11/17] hugetlbfs: support larger than MAX_ORDER

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <npiggin@...>
Cc: <akpm@...>, Andi Kleen <ak@...>, <linux-kernel@...>, <linux-mm@...>, <pj@...>, <andi@...>, <kniht@...>
Date: Friday, April 11, 2008 - 4:13 am

>  	spin_lock(&hugetlb_lock);

As Andrew Hastings pointed out earlier this all needs to be h->order < MAX_ORDER
[got pretty much all the checks wrong off by one]. It won't affect anything
on x86-64 but might cause problems on archs which have exactly MAX_ORDER
sized huge pages.



-Andi
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 11/17] hugetlbfs: support larger than MAX_ORDER, Andi Kleen, (Fri Apr 11, 4:13 am)
speck-geostationary