try to continue from walk() failing to allocate a page-table page
This commit is contained in:
parent
b27f275014
commit
f59c1bf1d8
3 changed files with 17 additions and 8 deletions
|
@ -1473,7 +1473,7 @@ sbrktest(void)
|
|||
|
||||
// can one grow address space to something big?
|
||||
a = sbrk(0);
|
||||
amt = (BIG) - (uint64)a;
|
||||
amt = BIG - (uint64)a;
|
||||
p = sbrk(amt);
|
||||
if (p != a) {
|
||||
printf(stdout, "sbrk test failed to grow big address space; enough phys mem?\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue