Thinness and weight loss: beneficial or detrimental to longevity?

Thinness and weight loss: beneficial or detrimental to longevity?