login
Header Space

 
 

Re: kthread_create and rel_mplock

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <kernel@...>
Date: Sunday, May 18, 2008 - 3:26 pm

Michael Neumann wrote:

kthread_* is old stuff and should be avoided.  If possible, use lwkt_*. 
These threads then run without process context and without the mplock.


Yes, I think so.


You do, to prevent from interrupts happening on the same CPU.  Other BSDs 
use(d) spl* for this purpose, we have crit_*.

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   / \
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
kthread_create and rel_mplock, Michael Neumann, (Sun May 18, 1:55 pm)
Re: kthread_create and rel_mplock, Simon 'corecode' Schubert..., (Sun May 18, 3:26 pm)
Re: kthread_create and rel_mplock, Sepherosa Ziehau, (Sun May 18, 9:27 pm)
speck-geostationary