Date: Sun, 20 May 2018 23:19:29 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 89762] [patch] top(1) startup is very slow on system with many users Message-ID: <bug-89762-227-Nzglo2dUXD@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-89762-227@https.bugs.freebsd.org/bugzilla/> References: <bug-89762-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=89762 --- Comment #8 from commit-hook@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@e-Gitt.NET Reported by: wkwu@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-89762-227-Nzglo2dUXD>
