Hello, FWIW, I have created a t/mlockall branch in our glibc repository, where I have put the basic glibc infrastructure, which just calls a to-be-implemented vm_wire_all mach RPC (feel free to rename that). the mlockall part should probably convert posix flags into mach flags.
Of course, since the RPC doesn't exist yet, that branch won't build yet :) Samuel