Re: [PATCH 6/7] ovl: deduplicate lowerpath and lowerstack[0]

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

 



On Sat, 8 Apr 2023 at 18:43, Amir Goldstein <amir73il@xxxxxxxxx> wrote:
>
> For the common case of single lower layer, embed ovl_entry with a
> single lower path in ovl_inode, so no stack allocation is needed.

This makes ovl_inode grow by 8 bytes, right?  That's a win only in the
numlower = 1 case, in the other cases it's a net loss, so it might not
be worth it even without the added complexity.

Thanks,
Miklos



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux