[lkml]   [2003]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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 ?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:58    [W:0.084 / U:6.400 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site