Page MenuHomeFreeBSD

vfs: retire KERN_VNODE
ClosedPublic

Authored by mjg on Mar 16 2023, 5:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 9, 10:03 PM
Unknown Object (File)
Tue, Apr 30, 3:53 PM
Unknown Object (File)
Fri, Apr 26, 11:53 AM
Unknown Object (File)
Fri, Apr 26, 11:53 AM
Unknown Object (File)
Fri, Apr 26, 11:53 AM
Unknown Object (File)
Fri, Apr 26, 6:23 AM
Unknown Object (File)
Mar 14 2024, 11:18 AM
Unknown Object (File)
Mar 14 2024, 11:18 AM
Subscribers

Details

Summary
It got disabled in 2003:

commit acb18acfec97aa7fe26ff48f80a5c3f89c9b542d
Author: Poul-Henning Kamp <phk@FreeBSD.org>
Date:   Sun Feb 23 18:09:05 2003 +0000

    Bracket the kern.vnode sysctl in #ifdef notyet because it results
    in massive locking issues on diskless systems.

    It is also not clear that this sysctl is non-dangerous in its
    requirements for locked down memory on large RAM systems.

There does not seem to be practical use for it and the disabled routine
does not work anyway.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mjg requested review of this revision.Mar 16 2023, 5:25 PM
kib added inline comments.
sys/sys/sysctl.h
978

Please use C89 comments in the public file. Why not use the single-line style as you did in kern_xxx.c?

This revision is now accepted and ready to land.Mar 17 2023, 11:30 AM
This revision was automatically updated to reflect the committed changes.