TO RESET: hugefileobj: show debug messages
Change-Id: I904c811c13a59c0db74052bc92f6661a3e1b5d34
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user