smalloc: OOM fixups
[fio.git] / smalloc.c
index 3ca29ff1404579d8be5068ee7b8455218fba6c3c..d038ac64ccfb8dedbe2801ed3630dafbb121b97c 100644 (file)
--- a/smalloc.c
+++ b/smalloc.c
@@ -450,6 +450,8 @@ void *smalloc(size_t size)
                break;
        } while (1);
 
+       log_err("smalloc: OOM. Consider using --alloc-size to increase the "
+               "shared memory available.\n");
        return NULL;
 }