Ticket #60106: patch-anonymous.diff
File patch-anonymous.diff, 544 bytes (added by dubiousjim, 5 years ago) |
---|
-
src/large_pages/node_large_page.cc
old new 49 49 #include <sstream> 50 50 #include <vector> 51 51 52 #if !defined(MAP_ANONYMOUS) 53 #define NO_MAP_ANONYMOUS 54 #if defined(MAP_ANON) 55 #define MAP_ANONYMOUS MAP_ANON 56 #else 57 #define MAP_ANONYMOUS 0 58 #endif 59 #endif 60 52 61 // The functions in this file map the text segment of node into 2M pages. 53 62 // The algorithm is simple 54 63 // Find the text region of node binary in memory