comment nits

This commit is contained in:
Robert Morris 2022-08-10 06:00:40 -04:00
parent 7d8bfdcbe3
commit f4b3edf5ab
2 changed files with 3 additions and 2 deletions

View file

@ -65,6 +65,7 @@ exec(char *path, char **argv)
uint64 oldsz = p->sz; uint64 oldsz = p->sz;
// Allocate two pages at the next page boundary. // Allocate two pages at the next page boundary.
// Make the first inaccessible as a stack guard.
// Use the second as the user stack. // Use the second as the user stack.
sz = PGROUNDUP(sz); sz = PGROUNDUP(sz);
uint64 sz1; uint64 sz1;

View file

@ -109,8 +109,8 @@ bfree(int dev, uint b)
// its size, the number of links referring to it, and the // its size, the number of links referring to it, and the
// list of blocks holding the file's content. // list of blocks holding the file's content.
// //
// The inodes are laid out sequentially on disk at block // The inodes are laid out sequentially on disk at
// sb.inodestart. Each inode has a number, indicating its // sb.startinode. Each inode has a number, indicating its
// position on the disk. // position on the disk.
// //
// The kernel keeps a table of in-use inodes in memory // The kernel keeps a table of in-use inodes in memory