Re: [tip:x86/urgent] x86, mm: Find_early_table_space based on ranges that are actually being mapped

2012-10-25 Thread Jacob Shin
On Thu, Oct 25, 2012 at 07:33:32AM -0700, Yinghai Lu wrote: > On Thu, Oct 25, 2012 at 12:55 AM, Ingo Molnar wrote: > >> > - ptes = (end + PAGE_SIZE - 1) >> PAGE_SHIFT; > >> > + /* The first 2/4M doesn't use large pages. */ > >> > + if (mr[i

Re: [tip:x86/urgent] x86, mm: Find_early_table_space based on ranges that are actually being mapped

2012-10-25 Thread Yinghai Lu
On Thu, Oct 25, 2012 at 12:55 AM, Ingo Molnar wrote: >> > - ptes = (end + PAGE_SIZE - 1) >> PAGE_SHIFT; >> > + /* The first 2/4M doesn't use large pages. */ >> > + if (mr[i].start < PMD_SIZE) >> > + extra += ra

Re: [tip:x86/urgent] x86, mm: Find_early_table_space based on ranges that are actually being mapped

2012-10-25 Thread Ingo Molnar
* Yinghai Lu wrote: > On Wed, Oct 24, 2012 at 2:49 PM, tip-bot for Jacob Shin > wrote: > > Commit-ID: 844ab6f993b1d32eb40512503d35ff6ad0c57030 > > Gitweb: > > http://git.kernel.org/tip/844ab6f993b1d32eb40512503d35ff6ad0c57030 > > Author: Jacob Shin > > AuthorDate: Wed, 24 Oct 2012 14

Re: [tip:x86/urgent] x86, mm: Find_early_table_space based on ranges that are actually being mapped

2012-10-24 Thread Yinghai Lu
On Wed, Oct 24, 2012 at 2:49 PM, tip-bot for Jacob Shin wrote: > Commit-ID: 844ab6f993b1d32eb40512503d35ff6ad0c57030 > Gitweb: http://git.kernel.org/tip/844ab6f993b1d32eb40512503d35ff6ad0c57030 > Author: Jacob Shin > AuthorDate: Wed, 24 Oct 2012 14:24:44 -0500 > Committer: H. Peter Anvi

[tip:x86/urgent] x86, mm: Find_early_table_space based on ranges that are actually being mapped

2012-10-24 Thread tip-bot for Jacob Shin
Commit-ID: 844ab6f993b1d32eb40512503d35ff6ad0c57030 Gitweb: http://git.kernel.org/tip/844ab6f993b1d32eb40512503d35ff6ad0c57030 Author: Jacob Shin AuthorDate: Wed, 24 Oct 2012 14:24:44 -0500 Committer: H. Peter Anvin CommitDate: Wed, 24 Oct 2012 13:37:04 -0700 x86, mm: Find_early_table_