android_kernel_xiaomi_sm8350/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
attribute_container.c
base.h
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
firmware_class.c [PATCH] kthread: drivers/base/firmware_class.c 2006-09-29 09:18:08 -07:00
firmware.c
hypervisor.c
init.c
isa.c
Kconfig
Makefile [PATCH] hot-add-mem x86_64: use CONFIG_MEMORY_HOTPLUG_SPARSE 2006-10-01 00:39:18 -07:00
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
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