[Bug 89762] [patch] top(1) startup is very slow on system with many users
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun May 20 23:19:31 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=89762
--- Comment #8 from commit-hook at freebsd.org ---
A commit references this bug:
Author: eadler
Date: Sun May 20 23:19:10 UTC 2018
New revision: 333945
URL: https://svnweb.freebsd.org/changeset/base/333945
Log:
top(1): set max username length based on system constant
This changes previous behavior of calculating it at startup based on
the current max username length.
This is done because:
- it is in theory possible for the max length to change at run-time
(e.g., a new user is added after top starts running)
- on machines with many users this delays startup significantly
PR: 20799
PR: 89762
Reported by: ob at e-Gitt.NET
Reported by: wkwu at Kavalan.csie.NCTU.edu.tw
Reported on: 2000-08-23 and 2005-11-30
Changes:
head/usr.bin/top/machine.c
head/usr.bin/top/machine.h
head/usr.bin/top/top.c
head/usr.bin/top/username.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list