From a77287e9244ae5dac7060c0b8817bc195325af0c Mon Sep 17 00:00:00 2001 From: Robert Morris Date: Wed, 24 Jul 2019 13:33:43 -0400 Subject: no more PAGEBREAK --- kernel/kalloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel/kalloc.c') 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 -- cgit v1.2.3