login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
29
Re: [RFC] New kobject/kset/ktype documentation and example code
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Greg KH <greg@...>
To: Cornelia Huck <cornelia.huck@...>
Cc: <linux-kernel@...>, Kay Sievers <kay.sievers@...>, Alan Stern <stern@...>, Jonathan Corbet <corbet@...>, Randy Dunlap <randy.dunlap@...>
Subject:
Re: [RFC] New kobject/kset/ktype documentation and example code
Date: Thursday, November 29, 2007 - 2:04 am
On Wed, Nov 28, 2007 at 12:45:45PM +0100, Cornelia Huck wrote:
quoted text
> On Tue, 27 Nov 2007 15:02:52 -0800, > Greg KH <greg@kroah.com> wrote: > > - A kset can provide a set of default attributes that all kobjects that > > belong to it automatically inherit and have created whenever a kobject > > is registered belonging to the kset. > > Hm, the default attributes are provided by the ktype?
Yes, now fixed.
quoted text
> > The uevent function will be called when the uevent is about to be sent to > > userspace to allow more environment variables to be added to the uevent. > > It may be helpful to mention which uevents are by default created by > the kobject core (KOBJ_ADD, KOBJ_DEL, KOBJ_MOVE).
Is this really needed?
quoted text
> > - refcount is the kobject's reference count; it is initialized by kobject_init() > > There is no field called "refcount"; the embedded struct kref kref is > initialized by kobject_init().
now removed, thanks.
quoted text
> > Often, much of the initialization of a kobject is handled by the layer that > > manages the containing kset. See the sample/kobject/kset-example.c for how > > this is usually handled. > > Do we also want to mention kobject_rename() and kobject_move(), or are > those functions so esoteric that most people don't want to know about > them?
They can be found in the kerneldoc api reference if they are needed :) thanks, greg k-h -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC] New kobject/kset/ktype documentation and example code
, Greg KH
, (Tue Nov 27, 7:02 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Alan Stern
, (Wed Nov 28, 3:03 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Greg KH
, (Thu Nov 29, 2:18 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Alan Stern
, (Thu Nov 29, 11:42 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Wed Nov 28, 3:28 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Alan Stern
, (Wed Nov 28, 3:36 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Wed Nov 28, 3:46 pm)
[PATCH] kobject: make sure kobj->ktype is set before kobj...
, Alan Stern
, (Wed Nov 28, 4:42 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Greg KH
, (Wed Nov 28, 5:45 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Alan Stern
, (Wed Nov 28, 6:00 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Cornelia Huck
, (Thu Nov 29, 6:05 am)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Kay Sievers
, (Thu Nov 29, 6:59 am)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Alan Stern
, (Thu Nov 29, 11:54 am)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Kay Sievers
, (Thu Nov 29, 12:04 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Alan Stern
, (Thu Nov 29, 1:06 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Kay Sievers
, (Thu Nov 29, 1:17 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Alan Stern
, (Thu Nov 29, 2:04 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Kay Sievers
, (Thu Nov 29, 2:33 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Alan Stern
, (Thu Nov 29, 3:05 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Kay Sievers
, (Thu Nov 29, 3:51 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Alan Stern
, (Thu Nov 29, 4:09 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Kay Sievers
, (Thu Nov 29, 4:19 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Kay Sievers
, (Thu Nov 29, 4:26 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Cornelia Huck
, (Fri Nov 30, 5:30 am)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Cornelia Huck
, (Thu Nov 29, 12:21 pm)
kobject_init rewrite
, Greg KH
, (Thu Nov 29, 5:53 pm)
Re: kobject_init rewrite
, Alan Stern
, (Thu Nov 29, 6:16 pm)
Re: kobject_init rewrite
, Greg KH
, (Thu Nov 29, 6:24 pm)
Re: kobject_init rewrite
, Greg KH
, (Thu Nov 29, 5:54 pm)
Re: kobject_init rewrite
, Cornelia Huck
, (Fri Nov 30, 5:31 am)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Cornelia Huck
, (Thu Nov 29, 7:48 am)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Greg KH
, (Wed Nov 28, 6:38 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Kay Sievers
, (Wed Nov 28, 4:52 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Wed Nov 28, 7:45 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Greg KH
, (Thu Nov 29, 2:04 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Thu Nov 29, 5:41 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Wed Nov 28, 8:23 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Greg KH
, (Thu Nov 29, 2:02 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Wed Nov 28, 11:48 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Wed Nov 28, 11:57 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Wed Nov 28, 12:12 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Wed Nov 28, 12:36 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Wed Nov 28, 12:51 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Wed Nov 28, 1:00 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Greg KH
, (Thu Nov 29, 2:08 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Thu Nov 29, 3:50 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Thu Nov 29, 5:35 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Thu Nov 29, 6:53 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Wed Nov 28, 5:01 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Greg KH
, (Thu Nov 29, 1:59 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Alan Stern
, (Wed Nov 28, 3:18 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Thu Nov 29, 6:12 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Alan Stern
, (Thu Nov 29, 11:47 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Thu Nov 29, 12:28 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Alan Stern
, (Thu Nov 29, 12:55 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Thu Nov 29, 1:52 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Wed Nov 28, 8:35 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Wed Nov 28, 11:52 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Wed Nov 28, 12:03 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Wed Nov 28, 12:09 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Greg KH
, (Wed Nov 28, 1:06 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Jonathan Corbet
, (Tue Nov 27, 11:50 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Greg KH
, (Thu Nov 29, 1:46 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Frans Pop
, (Tue Nov 27, 7:21 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kyle McMartin
, (Tue Nov 27, 7:10 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Greg KH
, (Tue Nov 27, 7:29 pm)
[RFC] Sample kset/ktype/kobject implementation
, Greg KH
, (Tue Nov 27, 7:04 pm)
Re: [RFC] Sample kset/ktype/kobject implementation
, Cornelia Huck
, (Wed Nov 28, 12:35 pm)
Re: [RFC] Sample kset/ktype/kobject implementation
, Greg KH
, (Thu Nov 29, 2:11 am)
Re: [RFC] Sample kset/ktype/kobject implementation
, Cornelia Huck
, (Thu Nov 29, 5:39 am)
Re: [RFC] Sample kset/ktype/kobject implementation
, Greg KH
, (Thu Nov 29, 4:39 pm)
Re: [RFC] Sample kset/ktype/kobject implementation
, Alan Stern
, (Thu Nov 29, 6:11 pm)
Re: [RFC] Sample kset/ktype/kobject implementation
, Greg KH
, (Fri Nov 30, 2:41 am)
Re: [RFC] Sample kset/ktype/kobject implementation
, Dave Young
, (Fri Nov 30, 1:07 am)
Re: [RFC] Sample kset/ktype/kobject implementation
, Alan Stern
, (Fri Nov 30, 10:51 am)
Re: [RFC] Sample kset/ktype/kobject implementation
, Dave Young
, (Fri Nov 30, 1:57 am)
[RFC] sample kobject implementation
, Greg KH
, (Tue Nov 27, 7:03 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Justin C. Sherrill
Re: pkgsrc bulk build and tiff
Jeremy Allison
Re: [RFC] Heads up on sys_fallocate()
Roland Dreier
Re: Integration of SCST in the mainstream Linux kernel
netbsd-tech-kern
:
Matt Thomas
Re: Add a MAP_ALIGNED flag for mmap(2).
Vsevolod Stakhov
Unicode support in iso9660.
Jaromir Dolecek
Re: Speeding up fork/wait path
matthew green
re: merge of freebsd eventhandler
git
:
dragonflybsd-user
:
Petr Janda
KDE and OpenSSL = Broken
sam
Re: Loader not found
Erick Perez
Re: dragonfly pdf documentation
Michel Talon
Re: Compatability with FreeBSD Ports [debian package tools]
Colocation donated by:
Who's online
There are currently
2 users
and
806 guests
online.
Online users
mikejack
donkey99
Syndicate