Re: [PATCH v14 11/22] vfs: Cache base_acl objects in inodes

2015-11-08 Thread Andreas Dilger
On Nov 5, 2015, at 4:39 AM, Andreas Gruenbacher wrote: > > POSIX ACLs and richacls are both objects allocated by kmalloc() with a > reference count which are freed by kfree_rcu(). An inode can either > cache an access and a default POSIX ACL, or a richacl (richacls do not > have default acls).

Re: [PATCH v14 11/22] vfs: Cache base_acl objects in inodes

2015-11-08 Thread Andreas Dilger
On Nov 5, 2015, at 4:39 AM, Andreas Gruenbacher wrote: > > POSIX ACLs and richacls are both objects allocated by kmalloc() with a > reference count which are freed by kfree_rcu(). An inode can either > cache an access and a default POSIX ACL, or a richacl (richacls do not >

[PATCH v14 11/22] vfs: Cache base_acl objects in inodes

2015-11-05 Thread Andreas Gruenbacher
POSIX ACLs and richacls are both objects allocated by kmalloc() with a reference count which are freed by kfree_rcu(). An inode can either cache an access and a default POSIX ACL, or a richacl (richacls do not have default acls). To allow an inode to cache either of the two kinds of acls,

[PATCH v14 11/22] vfs: Cache base_acl objects in inodes

2015-11-05 Thread Andreas Gruenbacher
POSIX ACLs and richacls are both objects allocated by kmalloc() with a reference count which are freed by kfree_rcu(). An inode can either cache an access and a default POSIX ACL, or a richacl (richacls do not have default acls). To allow an inode to cache either of the two kinds of acls,