看板 FB_hackers 關於我們 聯絡資訊
on 25/04/2008 17:36 Kostik Belousov said the following: > The malloc and free cannot be called while holding dev_mtx, this causes > the LORs. Please, look at the rev. 1.207, 1.210 of the kern/kern_conf.c > for the workarounds for the malloc issues. It seems that you may abuse the > dev_unlock_and_free() to make the notifications. > > Also, I think it is wrong to establish the lock ordering relations > between the process subsystem and cdev. Thank you for hand-guiding me! This seems to be a bit more complex than I originally thought, so I guess I'll have to get back to this after vacation (I want to stay as far from computers as possible during it). -- Andriy Gapon _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"