linux/drivers/pci/hotplug
Kenji Kaneshige bd62e27140 [PATCH] shpchp: fix improper wait for command completion
Current SHPCHP driver uses msleep_interruptible() function to wait for
a command completion event. But I think this would cause an unnecessary
long wait until timeout, if command completion interrupt came before
task state was changed to TASK_INTERRUPTIBLE. This patch fixes this
issue. With this patch, command completion becomes faster as follows:

o Without this patch

	# time echo 1 > power

	real    0m4.708s
	user    0m0.000s
	sys     0m0.524s

o With this patch

	# time echo 1 > power

	real    0m2.221s
	user    0m0.000s
	sys     0m0.532s

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-01-09 12:13:17 -08:00
..
Kconfig [ACPI] delete CONFIG_ACPI_BUS 2005-08-24 12:11:34 -04:00
Makefile [PATCH] PCI Hotplug: rpaphp: Move VIO registration 2005-09-08 14:57:22 -07:00
acpiphp.h [PATCH] acpi hotplug: convert acpiphp to use generic resource code 2005-06-27 21:52:42 -07:00
acpiphp_core.c [PATCH] acpi hotplug: convert acpiphp to use generic resource code 2005-06-27 21:52:42 -07:00
acpiphp_glue.c [PATCH] acpiphp: allocate resources for adapters with bridges 2005-10-28 15:37:01 -07:00
acpiphp_ibm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpci_hotplug.h [PATCH] PCI Hotplug: CPCI update 2005-05-17 14:31:11 -07:00
cpci_hotplug_core.c [PATCH] PCI Hotplug: fix CPCI reference counting bug 2005-06-09 01:37:59 -07:00
cpci_hotplug_pci.c [PATCH] PCI Hotplug: fix CPCI reference counting bug 2005-06-09 01:37:59 -07:00
cpcihp_generic.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
cpcihp_zt5550.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
cpcihp_zt5550.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqphp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqphp_core.c [PATCH] cpqphp: add pci_enable_device() 2005-10-28 15:36:58 -07:00
cpqphp_ctrl.c [PATCH] PCI Hotplug: cpqphp_ctrl.c: remove dead code 2006-01-09 12:13:16 -08:00
cpqphp_nvram.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqphp_nvram.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqphp_pci.c [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
cpqphp_sysfs.c [PATCH] Driver Core: drivers/i2c/chips/w83781d.c - drivers/s390/block/dcssblk.c: update device attribute callbacks 2005-06-20 15:15:34 -07:00
fakephp.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
ibmphp.h [PATCH] PCI: Spelling fixes for drivers/pci. 2005-05-03 23:45:16 -07:00
ibmphp_core.c [PATCH] Typo fix: dot after newline in printk strings 2005-10-30 17:37:20 -08:00
ibmphp_ebda.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmphp_hpc.c [PATCH] PCI: Spelling fixes for drivers/pci. 2005-05-03 23:45:16 -07:00
ibmphp_pci.c [PATCH] PCI Hotplug: ibmphp_pci.c copy-n-paste fix 2006-01-09 12:13:16 -08:00
ibmphp_res.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci_hotplug.h [PATCH] PCI: Spelling fixes for drivers/pci. 2005-05-03 23:45:16 -07:00
pci_hotplug_core.c [PATCH] sysfs: (driver/pci) if show/store is missing return -EIO 2005-06-20 15:15:02 -07:00
pciehp.h [PATCH] fix more missing includes 2006-01-08 20:13:45 -08:00
pciehp_core.c [PATCH] pciehp: clean-up how we request control of hotplug hardware 2005-11-10 16:09:15 -08:00
pciehp_ctrl.c [PATCH] PCI Express Hotplug: clear sticky power-fault bit 2005-11-23 23:04:27 -08:00
pciehp_hpc.c [PATCH] fix more missing includes 2006-01-08 20:13:45 -08:00
pciehp_pci.c [PATCH] pciehp: miscellaneous cleanups 2005-11-10 16:09:15 -08:00
pciehprm_acpi.c [PATCH] PCI: fix namespace clashes 2005-11-10 16:09:18 -08:00
pciehprm_nonacpi.c [PATCH] PCI: fix namespace clashes 2005-11-10 16:09:18 -08:00
pcihp_skeleton.c [PATCH] PCI: Spelling fixes for drivers/pci. 2005-05-03 23:45:16 -07:00
rpadlpar.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rpadlpar_core.c [PATCH] dlpar regression for ppc64 - probe change 2005-11-10 16:09:17 -08:00
rpadlpar_sysfs.c [PATCH] PCI Hotplug: Fix buffer overrun in rpadlpar_sysfs.c 2005-09-22 07:58:25 -07:00
rpaphp.h [PATCH] dlpar regression for ppc64 - probe change 2005-11-10 16:09:17 -08:00
rpaphp_core.c [PATCH] ppc64 PCI Hotplug: cleanup unsymmetric API routines 2005-10-28 15:36:59 -07:00
rpaphp_pci.c [PATCH] rpaphp_pci build fix 2005-11-13 18:14:11 -08:00
rpaphp_slot.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
sgi_hotplug.c [PATCH] PCI: convert kcalloc to kzalloc 2005-09-22 07:58:24 -07:00
shpchp.h [PATCH] shpchp: fix improper wait for command completion 2006-01-09 12:13:17 -08:00
shpchp_core.c [PATCH] shpchp: fix improper mmio mapping 2006-01-09 12:13:17 -08:00
shpchp_ctrl.c [PATCH] shpchp: fix improper wait for command completion 2006-01-09 12:13:17 -08:00
shpchp_hpc.c [PATCH] shpchp: fix improper wait for command completion 2006-01-09 12:13:17 -08:00
shpchp_pci.c [PATCH] shpchp: replace pci_find_slot() with pci_get_slot() 2006-01-09 12:13:16 -08:00
shpchp_sysfs.c [PATCH] shpchp: fix oops at driver unload 2005-10-28 15:37:01 -07:00
shpchprm_acpi.c [PATCH] shpchp: miscellaneous cleanups 2005-10-28 15:37:00 -07:00
shpchprm_legacy.c [PATCH] shpchp: miscellaneous cleanups 2005-10-28 15:37:00 -07:00
shpchprm_nonacpi.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00