Make sure we can get memory locks before starting scheduler.