Page MenuHomeFreeBSD

vfs: retire KERN_VNODE
ClosedPublic

Authored by mjg on Mar 16 2023, 5:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 26, 3:06 PM
Unknown Object (File)
Sun, Jun 23, 4:32 PM
Unknown Object (File)
Mon, Jun 17, 7:16 PM
Unknown Object (File)
May 9 2024, 10:03 PM
Unknown Object (File)
Apr 30 2024, 3:53 PM
Unknown Object (File)
Apr 26 2024, 11:53 AM
Unknown Object (File)
Apr 26 2024, 11:53 AM
Unknown Object (File)
Apr 26 2024, 11:53 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.