Pólya peaks and the oscillation of positive functions