Updated switch/glue patch?

Adrian Chadd adrian at freebsd.org
Wed Dec 28 12:50:01 UTC 2011


Hi,

Ok, can you then please send me an updated diff which:

* renames *_lockheld() to *_locked(), just for consistency with the kernel;
* rename smi_mtx back to sc_mtx, just for consistency;
* add _LOCK, _UNLOCK, _LOCK_ASSERT, _UNLOCK_ASSERT macros;
* use those to enforce correct locking. :)

Let's do that. We'll then worry about the callout mutex use afterwards.



Adrian


More information about the freebsd-embedded mailing list