[PATCH] Add lockmem=x option to pin memory