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

Eric Biggers
2025-07-18T17:11:42Z

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