rminnich / nix-os

Automatically exported from code.google.com/p/nix-os
Other
13 stars 4 forks source link

Need to map KSEG2 with GiB PTEs #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
we don't use GiB PTEs in the KSEG2 map

This code was lost in the shuffle. There's no reason not to, since we require 
CPUs that support them and a 512-fold reduction in PTEs is a good thing. Also, 
at least until we have more than 512GiB of memory, we can fit all KSEG2 PTEs on 
one page. As it is each GiB of memory takes one page and 512 PTEs!

The fix is in physinit. I'm raising this issue because we're going to get 
pushback but I'm not fond of supporting obsolete CPUs. We've had 10 years of 
that already!

Original issue reported on code.google.com by rminn...@gmail.com on 16 Sep 2011 at 3:40

GoogleCodeExporter commented 9 years ago
This is already fixed, right?

Original comment by nemo.m...@gmail.com on 16 Sep 2011 at 9:47

GoogleCodeExporter commented 9 years ago
it's a stupid mistake on my part and we can close the issue.

ron

Original comment by rminn...@gmail.com on 16 Sep 2011 at 10:07

GoogleCodeExporter commented 9 years ago

Original comment by noah.ev...@gmail.com on 16 Sep 2011 at 10:09