Round to page for optimum efficiency.

This commit is contained in:
Con Kolivas 2011-03-12 22:58:39 +11:00
parent 823a51cc74
commit d2ae072a3c

1
main.c
View file

@ -710,6 +710,7 @@ int main(int argc, char *argv[])
control.maxram = control.usable_ram / 3;
if (BITS32)
control.maxram = MIN(control.maxram, two_gig);
round_to_page(&control.maxram);
show_summary();