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/arch-x86_64.h b/arch-x86_64.h index d53c9a2..4e0ad5f 100644 --- a/arch-x86_64.h +++ b/arch-x86_64.h
@@ -25,6 +25,8 @@ #define __NR_async_thread 283 #endif +#define FIO_HUGE_PAGE 2097152 + #define FIO_HAVE_SYSLET #define nop __asm__ __volatile__("rep;nop": : :"memory")