Adjusted memory usage in puny benchmarks

Reduced memory usage of puny benchmarks to
reduce the probability of ooming when tests
are run multiple times.

BUG=chromium-os:39629
TEST=./run_remote_tests.sh --use_emerged --board=$B --remote=$IP \
			kernel_fs_Punybench/control.daily

Change-Id: I83c7e88388e0ac58879ea366867aa335273b8304
Reviewed-on: https://gerrit.chromium.org/gerrit/45432
Tested-by: Paul Taysom <taysom@chromium.org>
Reviewed-by: Luigi Semenzato <semenzato@chromium.org>
Commit-Queue: Paul Taysom <taysom@chromium.org>
diff --git a/file.m/uread.c b/file.m/uread.c
index 27554b5..27638aa 100644
--- a/file.m/uread.c
+++ b/file.m/uread.c
@@ -31,7 +31,7 @@
 enum {	/* Fraction of total memory to use for file size (1/n) */
 	FRACTION_OF_MEMORY = 4,
 	/* Fraction of file size for how much memory to leave free (1/n) */
-	FRACTION_OF_FILE_SIZE = 4 };
+	FRACTION_OF_FILE_SIZE = 2 };
 
 u64 Bufsize_log2 = 12;
 bool Hog_memory = TRUE;
diff --git a/file.m/ureadrand.c b/file.m/ureadrand.c
index dc529ca..26cf624 100644
--- a/file.m/ureadrand.c
+++ b/file.m/ureadrand.c
@@ -39,7 +39,7 @@
 enum {	/* Fraction of total memory to use for file size (1/n) */
 	FRACTION_OF_MEMORY = 4,
 	/* Fraction of file size for how much memory to leave free (1/n) */
-	FRACTION_OF_FILE_SIZE = 4 };
+	FRACTION_OF_FILE_SIZE = 2 };
 
 u64 Bufsize_log2 = 12;
 
diff --git a/file.m/uwrite.c b/file.m/uwrite.c
index a291334..6ebae7d 100644
--- a/file.m/uwrite.c
+++ b/file.m/uwrite.c
@@ -31,7 +31,7 @@
 enum {	/* Fraction of total memory to use for file size (1/n) */
 	FRACTION_OF_MEMORY = 4,
 	/* Fraction of file size for how much memory to leave free (1/n) */
-	FRACTION_OF_FILE_SIZE = 4 };
+	FRACTION_OF_FILE_SIZE = 2 };
 
 u64 Bufsize_log2 = 12;
 bool Hog_memory = TRUE;
diff --git a/libpuny.b/hogmem.c b/libpuny.b/hogmem.c
index 618dd08..70fc5e5 100644
--- a/libpuny.b/hogmem.c
+++ b/libpuny.b/hogmem.c
@@ -10,6 +10,7 @@
 
 #include <debug.h>
 #include <eprintf.h>
+#include <hogmem.h>
 #include <style.h>
 #include <twister.h>