From: Jens Axboe Date: Thu, 19 Jul 2007 08:09:45 +0000 (+0200) Subject: Add clue for ENOMEM hugepage allocation X-Git-Tag: fio-1.16.7~3 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=c7173db634637926296ba8a9201bc8edcddbc1a3 Add clue for ENOMEM hugepage allocation Signed-off-by: Jens Axboe --- diff --git a/memory.c b/memory.c index efbea04c..46eb852a 100644 --- a/memory.c +++ b/memory.c @@ -70,6 +70,8 @@ static int alloc_mem_shm(struct thread_data *td) log_err("fio: check that you have free huge pages and that hugepage-size is correct.\n"); else if (errno == ENOSYS) log_err("fio: your system does not appear to support huge pages.\n"); + else if (errno == ENOMEM) + log_err("fio: no huge pages available, do you need to alocate some? See HOWTO.\n"); } return 1;