 
            Nvm, I guess the entire sync retrieval and caching needs to be atomic.
Does it? I'm not sure I see how; I think you're right that the mmap doesn't need to be in the lock. I don't know that it's really important, given how rare it'll be in practice, but theoretically it could be outside the lock.