Page MenuHomeFreeBSD

Remove f_label from struct file
ClosedPublic

Authored by mjg on May 28 2020, 11:19 AM.
Tags
None
Referenced Files
F139330691: D25036.diff
Wed, Dec 10, 10:19 PM
Unknown Object (File)
Thu, Nov 27, 1:07 AM
Unknown Object (File)
Tue, Nov 25, 1:48 AM
Unknown Object (File)
Sun, Nov 23, 6:13 AM
Unknown Object (File)
Sat, Nov 22, 3:28 AM
Unknown Object (File)
Thu, Nov 20, 9:44 PM
Unknown Object (File)
Thu, Nov 20, 9:40 PM
Unknown Object (File)
Thu, Nov 20, 9:39 PM
Subscribers

Details

Summary

The field was added in r141137 in 2005 and is unused (I did not check if something was using it at any point).

It avoidably grows a struct which is NOFREE and easily gets hundreds of thousands of instances.

Removing the field also allows D25024 at no extra size cost.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mjg requested review of this revision.May 28 2020, 11:19 AM
mjg edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.May 28 2020, 4:37 PM
This revision was automatically updated to reflect the committed changes.