Welcome to the blog of Can Sar, a Stanford CS major. This blog is made up of my thoughts on Computer Science and the computer industry, as well as ever exciting tales from my life.

September 30, 2003

CS 140: Me and the Grad Students

CS 140 has started and it is not easy. The class is definitely not intended for most undergraduates. Although there are some seniors and juniors, the course mailing list is full of graduate students or SUN engineers looking for teammates. I think that my group will somehow survive, but it wont be an easy ride.
Today I have been working on changing the scheduler from a simple Round Robin Scheduler to a preemptive priority based scheduler.
This might sound very fancy, but I have to admit that I have not made much progress. By now I have a pretty good sense of how the system works, and a very good grasp of how the scheduler works, but there are still lots of problems. I just found out what Nachos does with sleeping threads, and where it stores them, which confused me a bit. I still have to figure out how exactly to handle some of the cases of the priorities, especially since we are not allowed to reset interrupt levels, but some of the calls I am using for now, expect interrupts to be turned off. Tomorrow will be a long day, especially because I still have to do E40.

Posted by Can Sar at September 30, 2003 01:04 AM to category Classes | TrackBack
Comments
Post a comment









Remember personal info?