diff options
author | WaheedHafez <[email protected]> | 2021-11-19 18:45:49 +0200 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2022-08-09 20:29:38 -0400 |
commit | 9f3673c4da3c2a829fe74f4b950c50568ca937dc (patch) | |
tree | 0e16614e138d1f876ecc0f7df9562f0d2874430d | |
parent | c1c16269b1991e1e1be16887d3e21d0f7e5f8d19 (diff) | |
download | xv6-labs-9f3673c4da3c2a829fe74f4b950c50568ca937dc.tar.gz xv6-labs-9f3673c4da3c2a829fe74f4b950c50568ca937dc.tar.bz2 xv6-labs-9f3673c4da3c2a829fe74f4b950c50568ca937dc.zip |
fix 'kfree' comment in kalloc.c
'kfree' has a parameter named 'pa' but referenced in the comment as 'v'.
-rw-r--r-- | kernel/kalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kalloc.c b/kernel/kalloc.c index fa6a0ac..0699e7e 100644 --- a/kernel/kalloc.c +++ b/kernel/kalloc.c @@ -39,7 +39,7 @@ freerange(void *pa_start, void *pa_end) kfree(p); } -// Free the page of physical memory pointed at by v, +// Free the page of physical memory pointed at by pa, // which normally should have been returned by a // call to kalloc(). (The exception is when // initializing the allocator; see kinit above.) |