Re: single subsytem multiple ksets (sysfs, kobject)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 15, 2005 at 03:56:09PM -0800, Om wrote:
> Hi,
> I am learning about kobjects and their hierarchy.
> I have made some progress ;-) I have read ( I hope I understood as well) the
> article series on lwn and the chapter on RML's book.
> 
> I am searching for a subsystem that has more than one ksets. My intention is to
> understand how a subsytem can have more than one kset. Single kset subsystem is
> easy to understand (http://lwn.net/Articles/55859/?format=printable). 

Why do you want to have a subsystem with more than one kset?

> Specifically, what I want to know is how a kset is initialized with a subsystem
> in which it is not embedded, in that case how the subsystem is notified of the
> second ksets' existence, when the subsystem is notified regarding the second
> kset's unlinking to the subset ..etc.

Hm, don't know if that would really work at all.

> In the kernel code (2.6.9) my egrep for  kobj_set_kset_s returned only 7 results
> which are all for different subsystems. I could not get any two kset referring
> to same subsystem.

Guess no one does that :)

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux