linux/drivers/base
Andrew Morton 735a7ffb73 [PATCH] drivers: wait for threaded probes between initcall levels
The multithreaded-probing code has a problem: after one initcall level (eg,
core_initcall) has been processed, we will then start processing the next
level (postcore_initcall) while the kernel threads which are handling
core_initcall are still executing.  This breaks the guarantees which the
layered initcalls previously gave us.

IOW, we want to be multithreaded _within_ an initcall level, but not between
different levels.

Fix that up by causing the probing code to wait for all outstanding probes at
one level to complete before we start processing the next level.

Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-27 15:34:51 -07:00
..
power Driver core: fix comments in drivers/base/power/resume.c 2006-09-25 21:08:39 -07:00
Kconfig
Makefile [PATCH] hot-add-mem x86_64: use CONFIG_MEMORY_HOTPLUG_SPARSE 2006-10-01 00:39:18 -07:00
attribute_container.c
base.h drivers/base: check errors 2006-09-25 21:08:39 -07:00
bus.c Driver core: bus: remove indentation level 2006-10-18 12:49:56 -07:00
class.c driver core fixes: sysfs_create_link() retval check in class.c 2006-10-18 12:49:54 -07:00
core.c Driver core: Don't ignore error returns from probing 2006-10-18 12:49:55 -07:00
cpu.c
dd.c [PATCH] drivers: wait for threaded probes between initcall levels 2006-10-27 15:34:51 -07:00
dmapool.c driver core fixes: device_create_file() retval check in dmapool.c 2006-10-18 12:49:55 -07:00
driver.c Driver core: Remove unneeded routines from driver core 2006-09-25 21:08:40 -07:00
firmware.c
firmware_class.c [PATCH] kthread: drivers/base/firmware_class.c 2006-09-29 09:18:08 -07:00
hypervisor.c
init.c
isa.c
map.c
memory.c
node.c [PATCH] ZVC: Support NR_SLAB_RECLAIMABLE / NR_SLAB_UNRECLAIMABLE 2006-09-26 08:48:51 -07:00
platform.c PM: platform_bus and late_suspend/early_resume 2006-09-25 21:08:38 -07:00
sys.c
topology.c driver core fixes: sysfs_create_group() retval in topology.c 2006-10-18 12:49:55 -07:00
transport_class.c