Remove out-of-date vmap::sbrk comment

上级 60a49df9
......@@ -581,12 +581,6 @@ vmap::copyout(uptr va, void *p, u64 len)
return 0;
}
// Grow/shrink current process's memory by n bytes.
// Growing may allocate vmas and physical memory,
// but avoids interfering with any existing vma.
// Assumes vmas around proc->brk are part of the growable heap.
// Shrinking just decreases proc->brk; doesn't deallocate.
// Return 0 on success, -1 on failure.
int
vmap::sbrk(ssize_t n, uptr *addr)
{
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论