None of this is to say that the risks of foreign-capital flows have evaporated, and that emerging markets should throw open their capital accounts all at once. There are still huge inefficiencies in international financial markets, which remain beset by herding behavior and other pathologies.