git: USB - Preallocate umass buffers to avoid interrupt deadlock

看板DFBSD_commit作者時間16年前 (2009/09/07 11:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit b7feb10e74d528c0e7e81c343e9dd66677e6980d Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sun Sep 6 19:37:55 2009 -0700 USB - Preallocate umass buffers to avoid interrupt deadlock * Try to avoid usb allocations made from the interrupt servicer. These can deadlock the interrupt handler and any other device sharing that irq as well as cause USB panics due to the broken critical section. * This is only a temporary fix. Another unaddressed issue is contigmalloc()'s inability to allocate large physically contiguous buffers after the machine has been up a while. Reported-by: Rumko and multiple others over time Summary of changes: sys/bus/usb/usbdi.c | 5 ++++- sys/dev/usbmisc/umass/umass.c | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b7feb10e74d528c0e7e81c343e9dd66677e6980d -- DragonFly BSD source repository
文章代碼(AID): #1Af7TqAR (DFBSD_commit)