commit | cb25df61fbe19065b41bee131d19335d615c676b | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Fri Mar 23 08:23:30 2007 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Fri Mar 23 08:23:30 2007 +0100 |
tree | 21c5bd7b39289bb949050c8364f8ff08177bd669 | |
parent | ec4015da5b2abd814a23913db2aa2385a2b13495 [diff] [blame] |
Move the huge page size defines into arch code It's 2MB on x86-64 by default, and 4MB on x86. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/os.h b/os.h index 85db5b8..3f83905 100644 --- a/os.h +++ b/os.h
@@ -51,8 +51,10 @@ #define SHM_HUGETLB 0 #define FIO_HUGE_PAGE 0 #else +#ifndef FIO_HUGE_PAGE #define FIO_HUGE_PAGE 4194304 #endif +#endif #if __GNUC__ < 3 #define __must_check