added 2-step memory protection attempt in JIT sandbox: 1. try using 4KB pages 2. if 1. fails try using 2M pages 3. if 2. fails error out this approach is needed as systems with huge memory capacity tend to give out 2M pages (when THP is enabled) even for very small allocations
added 2-step memory protection attempt in JIT sandbox:
1. try using 4KB pages
2. if 1. fails try using 2M pages
3. if 2. fails error out
this approach is needed as systems with huge memory capacity tend to give out
2M pages (when THP is enabled) even for very small allocations

egeor/libxsmm,egeor/libxsmm,egeor/libxsmm,egeor/libxsmm,maxhutch/libxsmm,maxhutch/libxsmm,hfp/libxsmm,egeor/libxsmm,hfp/libxsmm,maxhutch/libxsmm,hfp/libxsmm,egeor/libxsmm,hfp/libxsmm,hfp/libxsmm,maxhutch/libxsmm,hfp/libxsmm