diff options
author | WaheedHafez <[email protected]> | 2021-11-19 18:45:49 +0200 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2022-08-09 20:27:04 -0400 |
commit | 96da76a728d5737e05f1ef19c87ec6eb740f2e8c (patch) | |
tree | cd21d8e62ec84036e7b58519d276a2d1bc40dfce | |
parent | f33f0d8622ab13fc6f4571bf10bfab54dd81b040 (diff) | |
download | xv6-labs-96da76a728d5737e05f1ef19c87ec6eb740f2e8c.tar.gz xv6-labs-96da76a728d5737e05f1ef19c87ec6eb740f2e8c.tar.bz2 xv6-labs-96da76a728d5737e05f1ef19c87ec6eb740f2e8c.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.) |