Since 81167243b the size of struct pfs_node is 280 bytes, so the kernel
memory allocator takes memory from 384 bytes sized bucket. However, the
length of the node name is mostly short, e.g., for Linux emulation layer
it is up to 16 bytes. The size of struct pfs_node w/o pfs_name is 152
bytes, i.e., we have 104 bytes left to fit the node name into the 256
bytes-sized bucket.
Details
Details
- Reviewers
des - Group Reviewers
Linux Emulation - Commits
- rG14ee31bcccfb: pseudofs: Microoptimize struct pfs_node
rG7f72324346ea: pseudofs: Microoptimize struct pfs_node
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable