On Tue, Jan 27, 2004 at 09:30:30AM +0200, Oron Peled wrote: > On Tuesday 27 January 2004 02:56, Muli Ben-Yehuda wrote: > > The first draft of the slides for this one are now available at > >http://www.mulix.org/lectures/intro_to_linux_device_drivers/intro_linux_device_drivers.pdf. > > Very good. Small remarks/questions: > - I assume they learn the actual build procedure elsewhere. If not, than at > least some pointers are needed.
I think they do, but I'll mention it verbally. With 2.6, it's really trivial - a one line change in the Makefile and a two line adition to Kconfig. > - The idea to patch the core for hooking into timer interrupts is very > good for learning (the power of open source...). However, because > the interrupt you talk about is (by incident) the timer, people may > get the wrong idea that in Linux patching is needed for timing... > (which is a very common task). You may want to mention the existance > of the simple timer_* API. I will, definitely. The reason for patching into the timer interrupt is to show deferring work from the top half to the bottom half context. timers expire in the botom half, so it wouldn't make much sense to defer work there. > - Some mention (maybe verbally) about kernel versioning (which is used > for their exercise?) -- Understanding the Linux kernel API's are > a moving target (intentionally...) I'm not sure this is something I should get into... I'll keep it in mind. > - Are they getting (maybe in their lectures) some orderly view about: > * Different locking schemes? (spinlocks, reader-writers, > semaphores,...) I think so. I was asked to keep this part relatively simple. > * Different schemes for defering work? (softirqs, tasklet API, > work-queues, timer API's) Definitely. The lecture slides are available on the web, for the curious. Very interesting reading, the instructors did a swell job. Cheers, Muli -- Muli Ben-Yehuda http://www.mulix.org | http://mulix.livejournal.com/ "the nucleus of linux oscillates my world" - [EMAIL PROTECTED]
signature.asc
Description: Digital signature
