SMS dit: Large deviations and the malliavin calculus