Bug 148680 - sys/kern/subr_log: Document kern.log_wakeups_per_second
Summary: sys/kern/subr_log: Document kern.log_wakeups_per_second
Status: In Progress
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: John Baldwin
URL:
Keywords: easy
Depends on:
Blocks:
 
Reported: 2010-07-16 13:50 UTC by Alt
Modified: 2021-10-20 00:28 UTC (History)
3 users (show)

See Also:
koobs: maintainer-feedback? (jhb)
koobs: mfc-stable13?
koobs: mfc-stable12?
jhb: mfc-stable11-


Attachments
file.diff (2.44 KB, patch)
2010-07-16 13:50 UTC, Alt
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alt 2010-07-16 13:50:02 UTC
Document for sysctl variables
diff sys/kern/subr_log.c sys/kern/kern_thread.c sys/kern/kern_shutdown.c sys/kern/vfs_syscalls.c

Fix: Patch

Patch attached with submission follows:
Comment 1 SterlingCamden 2010-08-07 20:48:40 UTC
(Bugathon)

Patch applies cleanly to 8.1-STABLE and works.

-- 
Sterling (Chip) Camden    | sterling@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com        | http://chipsquips.com
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:12 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Guangyuan Yang freebsd_committer 2020-12-19 06:19:34 UTC
Returning to pool.
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2021-07-19 03:38:48 UTC
All except kern.log_wakeups_per_second are now documented:

14.0-CURRENT #14 main-n245176-8742817ba62

kern.log_wakeups_per_second:
kern.threads.max_threads_hits: kern.threads.max_threads_per_proc hit count
kern.shutdown.kproc_shutdown_wait: Max wait time (sec) to stop for each process
kern.shutdown.poweroff_delay: Delay before poweroff to write disk caches (msec)
kern.chroot_allow_open_directories: Allow a process to chroot(2) if it has a directory open

John can probably take care of this 21 years later :D

^Triage: 

  - Reclassify (base, not doc change)
Comment 5 commit-hook freebsd_committer 2021-08-04 18:56:27 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=c51e4962a3cf2959d1f1cb9ab74ceab448583169

commit c51e4962a3cf2959d1f1cb9ab74ceab448583169
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-08-04 18:50:34 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2021-08-04 18:50:34 +0000

    Document kern.log_wakeups_per_second.

    PR:             148680
    MFC after:      2 weeks

 sys/kern/subr_log.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 6 commit-hook freebsd_committer 2021-10-20 00:28:34 UTC
A commit in branch stable/13 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=59a5099ec12d3e8032817587c28c972ed00abdae

commit 59a5099ec12d3e8032817587c28c972ed00abdae
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-08-04 18:50:34 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2021-10-19 23:53:26 +0000

    Document kern.log_wakeups_per_second.

    PR:             148680

    (cherry picked from commit c51e4962a3cf2959d1f1cb9ab74ceab448583169)

 sys/kern/subr_log.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)