Notes on datastructures and lock ordering.