( just published), mental-hospital patients tended to be white, female, and elderly, while prisoners are disproportionately black, male, and young.
The jails have borne some of the brunt of de-institutionalization; the Los Angeles County jail has been described as the largest mental hospital in the nation.