Polysilicon depletion effect
Polysilicon depletion effect is the phenomenon in which unwanted variation of threshold voltage of the MOSFET devices using polysilicon as gate material is observed, leading to unpredicted behavior of the electronic circuit. Because of this variation High-k Dielectric Metal Gates (HKMG) were introduced to solve the issue. Polycrystalline silicon, also called polysilicon, is a material consisting of small silicon crystals. The latter differs from mocrystalline silicon used for semiconductor electronics and solar cells, and from amorphous silicon, used for thin film devices and solar cells. Gate material choice
The gate contact may be of polysilicon or metal, previously polysilicon was chosen over metal because the interfacing between polysilicon and gate oxide (SiO2) was favorable. But the conductivity of the poly-silicon layer is very low and because of this low conductivity, the charge accumulation is low, leading to a delay in channel formation and thus unwanted delays in circuits. The poly layer is doped with N-type or P-type impurity to make it behave like a perfect conductor and reduce the delay. Doped polysilicon gate disadvantages

Vgs = Gate Voltage
Vth = Threshold Voltage
n+ = Highly doped N region

In figure 1(a) of an nMOS transistor it is observed that the free majority carriers are scattered throughout the structure because of the absence of an external electric field. When a positive field is applied on the gate, the scattered carriers arrange themselves like figure 1(b), the electrons move closer toward the gate terminal but due to the open circuit configuration they don't start to flow. As a result of the separation of charges a depletion region is formed on the polysilicon-oxide interface, which has a direct effect on the channel formation in MOSFETs. In an NMOS with n+ Polysilicon gate, the poly depletion effect aids in the channel formation by the combined effect of the (+)ve field of donor ions (ND) and the externally applied (+)ve field at gate terminal. Basically the accumulation of the (+)ve charged Donor ions (ND) on the polysilicon enhances the Formation of the inversion channel and when  an inversion layer is formed, which can be seen in the figure 1(b) where the inversion channel is formed of acceptor ions (NA) (minority carriers). Polysilicon depletion can vary laterally across a transistor depending on the fabrication process, which can lead to significant transistor variability in certain transistor dimensions. Metal gates re-introduced
For the above reason as the devices go down on the scaling (32-28nm nodes) poly gates are being replaced by metal gates. The following technology is known as High-k Dielectric Metal Gate (HKMG) integration. In 2011 Intel has released a press-kit regarding their fabrication procedures of different nodes, which showed the use of Metal gate technology. Doped polysilicon was preferred earlier as gate material in MOS devices. Polysilicons were used as their work function matched with the Si substrate (which results in the low threshold voltage of MOSFET). Metal gates were re-introduced at the time when SiO2 dielectrics are being replaced by high-k dielectrics like Hafnium oxide as gate oxide in the mainstream CMOS technology. Also at the interface with gate dielectric, Polysilicon forms an SiOx layer. Moreover, there remains a high probability for Fermi level pinning to occur. So the effect with doped poly is an undesired reduction of threshold voltage that wasn't taken into account during circuit simulation. In order to avoid this kind of variation in vth of the MOSFET, at present metal gate is preferred over Polysilicon. See also

Reduction of Polysilicon Gate Depletion Effect in NMOS
Drain-induced barrier lowering
Gate material
Fabrication of microprocessor by intel

References 

Transistors
Semiconductor devices
Semiconductor technology
MOSFETs