an engines redline

heres one for you engine guys............
i was just reading a post in the slant 6 section about redline of a slant 6
then i thought to myself. How exactly is a redline determined?
is it the point where your torque and hp curves fall off?
anyone?