Skip to content

kobject/hotplug split

Kay Sievers lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6kobject/hotplug split - kobject add/removelib/kobject.c+3 -40 replies
2/6kobject/hotplug split - class coredrivers/base/class.c+2 -00 replies
3/6kobject/hotplug split - block corefs/partitions/check.c+2 -00 replies
4/6kobject/hotplug split - devices coredrivers/base/core.c+3 -00 replies
5/6kobject/hotplug split - usb crisdrivers/usb/host/hc_crisv10.c+1 -00 replies
6/6kobject/hotplug split - net bridgenet/bridge/br_sysfs_if.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] kobject/hotplug split

This splits the implicit generation of hotplug events from kobject_add() and kobject_del(), to give the driver core control over the time the event is created.

The kobject_register() and unregister functions still have the same behavior and emit the events by themselves.

The class, block and device core is changed now to emit the hotplug event _after_ the "dev" file, the "device" symlink and the default attributes are created. This will save udev from spinning in a stat() loop to wait for the files to appear, which is expensive if we have a lot of concurrent events.