Acquiring a lock on the same CPU that holds it - what can be done?
Andriy Gapon
avg at FreeBSD.org
Thu Jan 9 06:17:32 UTC 2014
on 09/01/2014 07:31 Konstantin Belousov said the following:
> I.e. you propose to extend the prioriry propagation to all cases of lock
> acquisition. This is not quite correct as well, but now in the other
> direction, since it prevents non-contending high-priority thread from
> running.
Yes.
> I think a good experiment would be to add critical_enter/critical_exit
> to non-sleepable locks and see.
Yes.
--
Andriy Gapon
More information about the freebsd-arch
mailing list