OpenVZ Forum


Home » Mailing lists » Devel » Re: [PATCH 2/4] sysfs: Implement sysfs manged shadow directory support.
Re: [PATCH 2/4] sysfs: Implement sysfs manged shadow directory support. [message #19483 is a reply to message #19475] Tue, 31 July 2007 03:24 Go to previous messageGo to previous message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
Ugh.  I need to step back and carefully define what I'm seeing but it
looks like the current sysfs locking is wrong.

I'm starting to find little inconsistencies all over the place
such as:

Which lock actually protects sd->s_children?
- It isn't sysfs_mutex.  (see sysfs_lookup)
- It isn't inode->i_mutex (we only get it if we happen to have the inode
  in core)

At first glance sysfs_assoc_lock looks just as bad.

Eric
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [netns] sysfs: issues porting shadow directories on top of 2.6.21-mm2
Next Topic: Re: [PATCH 2/4] sysfs: Implement sysfs manged shadow directory support.
Goto Forum:
  


Current Time: Fri Sep 05 09:25:12 GMT 2025

Total time taken to generate the page: 0.12423 seconds