Re: [RFC 1/6] sysfs-kobject.patch

From: viro
Date: Mon Oct 06 2003 - 08:42:59 EST


On Mon, Oct 06, 2003 at 02:30:03PM +0530, Maneesh Soni wrote:
> @@ -32,6 +32,12 @@ struct kobject {
> struct kset * kset;
> struct kobj_type * ktype;
> struct dentry * dentry;
> + struct list_head k_sibling;
> + struct list_head k_children;
> + struct list_head attr;
> + struct list_head attr_group;
> + struct rw_semaphore k_rwsem;
> + char *k_symlink;
> };

Too bloated. I suspect that we will be better off if we simply leave
current scheme for directories and have dentries allocated on demand
for everything else.
-
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/