gentoo kernel3.8.13 with my own commentary, see the source, understand the mechanism