In recent years, General Motors (NYSE: GM) has posted consistently strong profits in its two largest markets: North America and China. However it has struggled in the rest of the world. As a result, management has moved aggressively since 2015 to exit markets where there was no clear path to sustainable profitability.These moves helped lift the General to a record profit in 2017.