login
Header Space

 
 

Re: Interrupt, interrupt threads, continuations, and kernel lwps

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bill Studenmund <wrstuden@...>
Cc: Andrew Doran <ad@...>, <tech-kern@...>
Date: Thursday, February 22, 2007 - 8:49 pm

In message <20070222174642.GB24922@netbsd.org>, Bill Studenmund writes:

[...]


I came to that conclusion after re-reading Andrew's reply.  i think
the problem is terminology.  I'm not used to seeing taking an
interrupt called a "context switch" instead of, well, taking an
interrupt or a trap.



That's an unfortunate choice of terminology. it'S inviting confusion
to say that a new approach does just what we did before, when it
doesn't, and the details matter.



Numbers would be interesting.  But what kind of numbers?  Single-CPU?
Multi-CPU?  Or CPUs with (gack) virtually-indexed caches and TLBs
without address-space-IDs?  I don't see how Andrew's scheme would
really work there, but maybe I'm missing something.

The other issue I see is that Andrew is assuming that blocking (in his
sense, meaning doing the full work of the deferred context switch) is
a rare case.  I don't buy that, not for networking.  Look at the
resources put into making FreeBSD a fine-grained kernel, and notice
that FreeBSD-6 still has one big lock around the network stack and
socket-layer code.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Interrupt, interrupt threads, continuations, and kernel ..., Joerg Sonnenberger, (Thu Feb 22, 5:59 pm)
Re: Interrupt, interrupt threads, continuations, and kernel ..., , (Thu Feb 22, 8:49 pm)
Re: Interrupt, interrupt threads, continuations, and kernel ..., Steven M. Bellovin, (Wed Feb 21, 10:21 pm)
speck-geostationary