Re: IP27: CONFIG_TRANSPARENT_HUGEPAGE triggers bus errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/07/2014 13:30, David Daney wrote:
> On 11/07/2014 02:22 AM, Joshua Kinard wrote:
> [...]
>>
>> So my guess is unless hugepages can happen in powers of 4,
> 
> Huge  pages are currently only supported on MIPS64 for this reason.
> 
> huge_page_mask_size = (normal_page_size/8 * normal_page_size) / 2;
> 
> If you take log2 of everything you get
> 
> huge_page_mask_bits = normal_page_bits - 3 + normal_page_bits - 1
>   = 2 * normal_page_bits - 4 (always even)
> 
> So all page sizes result in huge pages that meet the power of 4 criterion.

Well, looks like I'll have to bisect to hunt the problem down.  Obviously there
is something with transparent hugepages that the R10K-family dislikes.  Just a
question of "what?".  Seems like I'm the only one left with this kind of
equipment and interest to play with it :)

-- 
Joshua Kinard
Gentoo/MIPS
kumba@xxxxxxxxxx
4096R/D25D95E3 2011-03-28

"The past tempts us, the present confuses us, the future frightens us.  And our
lives slip away, moment by moment, lost in that vast, terrible in-between."

--Emperor Turhan, Centauri Republic





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux