diff options
author | Robert Morris <[email protected]> | 2019-07-24 13:33:43 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2019-07-24 13:33:43 -0400 |
commit | a77287e9244ae5dac7060c0b8817bc195325af0c (patch) | |
tree | fbf856ce361a9bc75abe4c484ecaff324607dd71 /kernel/kalloc.c | |
parent | b4f89bb5290cff5926e5a735487b024f8314e028 (diff) | |
download | xv6-labs-a77287e9244ae5dac7060c0b8817bc195325af0c.tar.gz xv6-labs-a77287e9244ae5dac7060c0b8817bc195325af0c.tar.bz2 xv6-labs-a77287e9244ae5dac7060c0b8817bc195325af0c.zip |
no more PAGEBREAK
Diffstat (limited to 'kernel/kalloc.c')
-rw-r--r-- | kernel/kalloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kalloc.c b/kernel/kalloc.c index d72e0ab..d95531b 100644 --- a/kernel/kalloc.c +++ b/kernel/kalloc.c @@ -1,5 +1,5 @@ // Physical memory allocator, intended to allocate -// memory for user processes, kernel stacks, page table pages, +// memory for user processes, kernel stacks, page-table pages, // and pipe buffers. Allocates 4096-byte pages. #include "types.h" @@ -39,7 +39,7 @@ freerange(void *pa_start, void *pa_end) for(; p + PGSIZE <= (char*)pa_end; p += PGSIZE) kfree(p); } -//PAGEBREAK: 21 + // Free the page of physical memory pointed at by v, // which normally should have been returned by a // call to kalloc(). (The exception is when |