> I once thought something might be wrong, and then found
> (ALT)SYSCALL_LOCK spinning to wait for the lock to be released. Now I
> am wondering if we can contribute spinning time to anything else, say
> running another process, before the lock gets released. Is is possible
> to do so?

I'm the last person who you'd speak to for an authoritative answer to a
FreeBSD question, but I'll try fielding it.

What version of FreeBSD?

Your kernel might be spinlocking other processes out because the kernel
isn't totally re-entrant. Yet. Version number here might be significant.

At least, this is the only reason I can think of for spinlocking away at
syscall entry.

In such a case, recognizing this situation and then just deciding to run
another process instead of spinning away helplessly wouldn't do much good.
To run another process, it'd need to enter the kernel and select one.
That's still the same problem.

-MB



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to