ofed merge soon

Hans Petter Selasky hselasky at c2i.net
Sat Jan 29 09:32:34 UTC 2011


Hi,

Just a comment:

+
+#define DEFINE_MUTEX(lock)                                             \
+       mutex_t lock;                                                   \
+       SX_SYSINIT_FLAGS(lock, &(lock).sx, "lnxmtx", SX_NOWITNESS)
+
+static inline void
+linux_mutex_init(mutex_t *m)
+{
+
+       memset(&m->sx, 0, sizeof(m->sx));
+       sx_init_flags(&m->sx, "lnxmtx",  SX_NOWITNESS);
+}
+
+#define        mutex_init      linux_mutex_init

I see you workaround the fact that Linux does not destroy any mutexes by 
disabling witness. Do you have any plan to upgrade the Linux 3rd party code to 
destroy mutexes?

--HPS


More information about the freebsd-arch mailing list