use posix_memalign to allocate locked pages