xpmem: support large page

1. try to use as large page as possible on attach
2. pre-map resident remote pages on attach

Change-Id: I5580682a4199e94085a9bad9ce3958a0f14cdcea
This commit is contained in:
Yoshihisa Morizumi
2021-01-08 16:56:32 +09:00
committed by Masamichi Takagi
parent 3aaa5350f0
commit d2db639853
68 changed files with 4878 additions and 244 deletions

View File

@@ -0,0 +1,13 @@
diff --git linux/include/ihk/ihk_debug.h linux/include/ihk/ihk_debug.h
index 9b53dd7..305a3a9 100644
--- linux/include/ihk/ihk_debug.h
+++ linux/include/ihk/ihk_debug.h
@@ -8,7 +8,7 @@
#ifndef IHK_DEBUG_H_INCLUDED
#define IHK_DEBUG_H_INCLUDED
-#define IHK_KMSG_SIZE 8192
+#define IHK_KMSG_SIZE (4UL<<20)
#define IHK_KMSG_HIGH_WATER_MARK (IHK_KMSG_SIZE / 2)
#define IHK_KMSG_NOTIFY_DELAY 400 /* Unit is us, 400 us would avoid overloading fwrite of ihkmond */