From: | Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Sun, 14 Mar 2004 18:27:58 -0800 (PST) |
dillon 2004/03/14 18:27:57 PST DragonFly src repository Modified files: sys/bus/cam cam_xpt.c sys/bus/cam/scsi scsi_cd.c scsi_ch.c scsi_da.c scsi_pass.c scsi_pt.c scsi_sa.c scsi_ses.c scsi_targ_bh.c scsi_target.c sys/dev/usbmisc/ubsa ubsa.c sys/dev/usbmisc/udbp udbp.c sys/dev/usbmisc/uftdi uftdi.c sys/dev/usbmisc/ugen ugen.c sys/dev/usbmisc/uhid uhid.c sys/dev/usbmisc/ukbd ukbd.c sys/dev/usbmisc/umass umass.c sys/dev/usbmisc/umct umct.c sys/dev/usbmisc/umodem umodem.c sys/dev/usbmisc/ums ums.c sys/dev/usbmisc/uplcom uplcom.c sys/dev/usbmisc/uvisor uvisor.c sys/dev/usbmisc/uvscom uvscom.c Log: Do some M_WAITOK<->M_INTWAIT cleanups. Code entered from userland, such as device open and device ioctl, generally use M_WAITOK, while low level structures such as the capacity structure are allocated using M_INTWAIT. Revision Changes Path 1.12 +1 -1 src/sys/bus/cam/cam_xpt.c 1.13 +17 -17 src/sys/bus/cam/scsi/scsi_cd.c 1.8 +1 -1 src/sys/bus/cam/scsi/scsi_ch.c 1.15 +1 -1 src/sys/bus/cam/scsi/scsi_da.c 1.10 +1 -1 src/sys/bus/cam/scsi/scsi_pass.c 1.9 +1 -1 src/sys/bus/cam/scsi/scsi_pt.c 1.10 +1 -1 src/sys/bus/cam/scsi/scsi_sa.c 1.9 +1 -1 src/sys/bus/cam/scsi/scsi_ses.c 1.8 +1 -1 src/sys/bus/cam/scsi/scsi_targ_bh.c 1.7 +1 -1 src/sys/bus/cam/scsi/scsi_target.c 1.7 +1 -1 src/sys/dev/usbmisc/ubsa/ubsa.c 1.3 +2 -2 src/sys/dev/usbmisc/udbp/udbp.c 1.7 +1 -1 src/sys/dev/usbmisc/uftdi/uftdi.c 1.11 +2 -2 src/sys/dev/usbmisc/ugen/ugen.c 1.11 +1 -1 src/sys/dev/usbmisc/uhid/uhid.c 1.8 +5 -5 src/sys/dev/usbmisc/ukbd/ukbd.c 1.10 +1 -1 src/sys/dev/usbmisc/umass/umass.c 1.3 +1 -1 src/sys/dev/usbmisc/umct/umct.c 1.10 +1 -1 src/sys/dev/usbmisc/umodem/umodem.c 1.10 +2 -2 src/sys/dev/usbmisc/ums/ums.c 1.7 +1 -1 src/sys/dev/usbmisc/uplcom/uplcom.c 1.7 +1 -1 src/sys/dev/usbmisc/uvisor/uvisor.c 1.7 +1 -1 src/sys/dev/usbmisc/uvscom/uvscom.c http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/cam_xpt.c.diff?r1=1.11&r2=1.12&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_cd.c.diff?r1=1.12&r2=1.13&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_ch.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_da.c.diff?r1=1.14&r2=1.15&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_pass.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_pt.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_sa.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_ses.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_targ_bh.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_target.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ubsa/ubsa.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/udbp/udbp.c.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/uftdi/uftdi.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ugen/ugen.c.diff?r1=1.10&r2=1.11&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/uhid/uhid.c.diff?r1=1.10&r2=1.11&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ukbd/ukbd.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/umass/umass.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/umct/umct.c.diff?r1=1.2&r2=1.3&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/umodem/umodem.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ums/ums.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/uplcom/uplcom.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/uvisor/uvisor.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/uvscom/uvscom.c.diff?r1=1.6&r2=1.7&f=h