A general criterion for the release of background potential energy through double diffusion