diff --git a/kernel/hugefileobj.c b/kernel/hugefileobj.c index 628cf38f..07348992 100644 --- a/kernel/hugefileobj.c +++ b/kernel/hugefileobj.c @@ -85,7 +85,11 @@ static int hugefileobj_get_page(struct memobj *memobj, off_t off, } memset(obj->pages[pgind], 0, obj->pgsize); +#ifndef ENABLE_FUGAKU_HACKS dkprintf("%s: obj: 0x%lx, allocated page for off: %lu" +#else + kprintf("%s: obj: 0x%lx, allocated page for off: %lu" +#endif " (ind: %d), page size: %lu\n", __func__, obj, off, pgind, obj->pgsize); } @@ -274,7 +278,11 @@ int hugefileobj_create(struct memobj *memobj, size_t len, off_t off, obj->nr_pages = nr_pages; obj->pages = pages; +#ifndef ENABLE_FUGAKU_HACKS dkprintf("%s: obj: 0x%lx, VA: 0x%lx, page array allocated" +#else + kprintf("%s: obj: 0x%lx, VA: 0x%lx, page array allocated" +#endif " for %d pages, pagesize: %lu\n", __func__, obj,