From 9fe958257564ff141c02f1c2de5fd1b6187cf6ae Mon Sep 17 00:00:00 2001 From: Pratik Chowdhury <28534575+pratikpc@users.noreply.github.com> Date: Sun, 10 Nov 2024 03:32:37 +0530 Subject: [PATCH] fix(k-alloc.cc/kalloc): remove comment about page alignment of page size --- k-alloc.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/k-alloc.cc b/k-alloc.cc index 8b4211e..1fedd79 100644 --- a/k-alloc.cc +++ b/k-alloc.cc @@ -21,8 +21,6 @@ void init_kalloc() { // The handout allocator sets returned memory to 0xCC (this corresponds // to the x86 `int3` instruction and may help you debug). // -// If `sz` is a multiple of `PAGESIZE`, the returned pointer is guaranteed -// to be page-aligned. // // The handout code does not free memory and allocates memory in units // of pages.