Page MenuHomeFreeBSD

vfs: retire KERN_VNODE
ClosedPublic

Authored by mjg on Mar 16 2023, 5:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 23 2024, 10:56 AM
Unknown Object (File)
Sep 23 2024, 9:57 AM
Unknown Object (File)
Sep 22 2024, 12:28 PM
Unknown Object (File)
Sep 22 2024, 2:19 AM
Unknown Object (File)
Sep 18 2024, 6:41 AM
Unknown Object (File)
Sep 18 2024, 1:49 AM
Unknown Object (File)
Sep 17 2024, 7:32 AM
Unknown Object (File)
Sep 16 2024, 3:49 PM
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

Lint
Lint Skipped
Unit
Tests Skipped

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.