DragonFly kernel List (threaded) for 2006-12
DragonFly BSD
DragonFly kernel List (threaded) for 2006-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: What do people think about adaptive polling?


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Tue, 12 Dec 2006 14:20:25 +0100

Hasso Tepper wrote:
Simon 'corecode' Schubert wrote:
I think that's the equivalent of fast and slow interrupts in bsd.  we
basically (with some exceptions, like serial io) do all the work in the
slow interrupt handler (= interrupt thread).
As far as I understand it, no. Correct me if I'm wrong, but fast and slow
interrupts is about splitting interrupts into two kinds - serial io is
example of fast interrupt and network io is example of slow interrupt.

yes. i was under the impression that we just read the data from the port in the fast interrupt and then wake up the so-called bottom half. i could be wrong, of course.


Sofirq in Linux is about splitting work done to serve one interrupt into two
parts - minimal and very fast interrupt handler schedules task done in
sofirq thread.

maybe i understand dragonfly's interrupt processing wrong, but i would look at our interrupt system as almost entirely "soft". the hard, fast part is generic, which simply records the event of an interrupt. because of that the interrupt thread gets woken up, which is essentially a "soft" one. thinking about this, i could also be entirely wrong (but i hope i'm not).


cheers
 simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]