These LWN articles explain it in great detail. If someone is interested in knowing the intricacies of the kernel's internal mechanism to get with the program execution, then a must-read.
Easy? No, certainly not. If you get it all at once, the entitlement should be bestowed on you. :)
Part-1:
SOCIAL SHARE CARD GENERATOR