Page MenuHomeFreeBSD

Remove f_label from struct file
ClosedPublic

Authored by mjg on May 28 2020, 11:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 25, 12:15 AM
Unknown Object (File)
Fri, Feb 21, 2:33 AM
Unknown Object (File)
Wed, Feb 19, 7:32 AM
Unknown Object (File)
Jan 26 2025, 3:10 AM
Unknown Object (File)
Jan 12 2025, 4:57 PM
Unknown Object (File)
Jan 12 2025, 1:49 AM
Unknown Object (File)
Jan 2 2025, 3:54 PM
Unknown Object (File)
Dec 6 2024, 9:40 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.