Critical Sections for userland.

Alfred Perlstein alfred at freebsd.org
Thu Oct 4 10:03:54 PDT 2007


* Daniel Eischen <deischen at freebsd.org> [071004 06:05] wrote:
> 
> His point about telling us what you're really doing, so we might
> off other ways to do it is valid.
> 
> We don't know why you are using homegrown user-level spinlocks
> instead of pthread mutexes.  Priority ceiling mutexes and running
> in SCHED_RR or SCHED_FIFO is really what tries to address this
> problem, at least from the vague desciption you give.  If you
> have tried this and they don't work correctly, then one solution
> is to fix them ;-)

First of all we're stuck on 6.x, how is threads on this platform?

Second off we are contending against other devices in the system
that do not run FreeBSD, How do we address that?

-- 
- Alfred Perlstein


More information about the freebsd-hackers mailing list