[PATCH v2 0/2] Remove ksets from sysfs eagerly

From: Bjorn Helgaas
Date: Thu Dec 05 2013 - 19:37:54 EST


This removes ksets from sysfs immediately in kset_unregister() to help
prevent module unload/reload problems. It also adds more variability
to the CONFIG_DEBUG_KOBJECT_RELEASE option by delaying release functions
for a somewhat random time, to change the order in which they can be
called.

---

Bjorn Helgaas (2):
kobject: delay kobject release for random time
kobject: remove kset from sysfs immediately in kset_unregister()


Documentation/kobject.txt | 5 ++++-
lib/kobject.c | 11 ++++++++---
2 files changed, 12 insertions(+), 4 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/