What was perestroika?

A. A Soviet policy of nuclear disarmament
B. A Soviet policy to make the economy more open to foreign competition and individual citizens
C. A Soviet policy to increase military spending
D. A Soviet policy of making the government more open