Allocating pages without working set and thread safety