Page MenuHomeFreeBSD

Remove f_label from struct file
ClosedPublic

Authored by mjg on May 28 2020, 11:19 AM.
Tags
None
Referenced Files
F156947700: D25036.id72536.diff
Sun, May 17, 1:57 PM
F156947683: D25036.id72536.diff
Sun, May 17, 1:57 PM
F156933448: D25036.id72362.diff
Sun, May 17, 11:24 AM
F156889454: D25036.id.diff
Sun, May 17, 2:53 AM
Unknown Object (File)
Thu, May 14, 11:12 AM
Unknown Object (File)
Mon, Apr 27, 4:23 PM
Unknown Object (File)
Sat, Apr 25, 4:06 AM
Unknown Object (File)
Fri, Apr 24, 8:30 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.