This article from the Atlantic is worth reading to understand this:

http://www.theatlantic.com/educatio...ay-segregation-in-public-schools/382846/

The article mentions one type of remedy I've long advocated:

"There are also other ways to open up higher level classes to all students without completely ending tracking, says Daugherty, of the South Orange Maplewood School District. One is to standardize the system for testing into advanced tracks, rather than leave it to students and their parents. A few years ago, the district required all freshmen to take the AP English qualifying exam—and then followed up with the students who did well but did not enroll. Instead of making the test optional, favoring students and parents who are assertive and knowledgeable about the system, this system can help identify innate talent, the theory goes."