Messages in this thread | | | Date | Fri, 14 Nov 2003 01:25:26 +0530 | From | Dipankar Sarma <> | Subject | Re: [RFC 0/5] Backing Store for sysfs (Overhauled) |
| |
On Thu, Nov 13, 2003 at 11:34:04AM -0800, Patrick Mochel wrote: > > I still think that keeping the directories static and only creating the > leaf (file) dentries dynamically is the best tradeoff between complexity > and memory consumption.
Sounds like after the locking in the current patches fixed, this should perhaps be implemented and compared for locking complexity and memory consumption.
> > It will require some minor infrastructural modification to associate a > kobject with all of its leaf nodes, but the result will be cleaner, and > the worst-case memory consumption will be less than your patches with a > per-attribute-per-kobject data structure (which there currently isn't).
Would a smaller replacement for the sysfs_dirent structure to link just leaf nodes to kobject be close to what infrastructural modifications you are talking about ?
Thanks Dipankar - 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/
| |