From 31085bb4166c18b3dee059160d64b4edd7c5e2f4 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 7 Sep 2006 14:12:30 +0000 Subject: more comments --- kalloc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kalloc.c') diff --git a/kalloc.c b/kalloc.c index 34a55eb..7d3ca0c 100644 --- a/kalloc.c +++ b/kalloc.c @@ -40,6 +40,10 @@ kinit(void) kfree(start, mem * PAGE); } +// Free the len bytes of memory pointed at by cp, +// which normally should have been returned by a +// call to kalloc(cp). (The exception is when +// initializing the allocator; see kinit above.) void kfree(char *cp, int len) { -- cgit v1.2.3