my project for graduation, implemented a simple light weight scheduler, also it ported classical O(1) scheduler to 2.6.32. I think it's a place to learn something about how to write a scheduler.