That said, I think there's a possible silver lining to gentrification that needs to seriously be considered: There's a lot of evidence to suggest that mixing people of different socioeconomic backgrounds has a large positive impact on social mobility for the less wealthy people in that community. This in turn has a large positive impact on the community's long-term economic growth.
In light of that, I think we need to be very careful about not throwing the baby out with the bathwater. If gentrification takes the form of wholesale displacing entire communities then yes, that's a problem. But if things can be arranged such that wealthier folks moving back to the city leave their gated communities behind rather than bringing them along for the move, then the long-term outcome could be transformative.