feat: add log
This commit is contained in:
parent
74730a17be
commit
f62c2d393c
@ -24,6 +24,7 @@ alloc_buffer(MemoryBuffer *mem)
|
||||
uint64_t alloc_flags = MAP_PRIVATE | MAP_POPULATE;
|
||||
|
||||
if (mem->flags & F_ALLOC_HUGE) {
|
||||
fprintf(stderr, "Enable HUGE\n");
|
||||
if (mem->fd == 0) {
|
||||
fprintf(stderr, "[ERROR] - Missing file descriptor to allocate hugepage\n");
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user