Re: [PATCH RFC DRAFT DOESNOTBUILD] inode: free up more space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 18, 2025 at 09:04:14AM -0700, Eric Biggers wrote:
> Doing the dereferences to get an offset stored in the inode_operations
> (or fscrypt_operations or fsverity_operations, or maybe even super_block
> which would just need one dereference rather than two?), and then doing
> the pointer arithmetic, would be faster than an indirect call.  It won't
> be all that great either, but it would do.

Correction: due to inode::i_op, it takes just one dereference to get
from inode to inode_operations (as Jan pointed out elsewhere in the
thread).  So that would probably be best.

- Eric




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux