diff options
author | ivoras <ivoras@FreeBSD.org> | 2008-11-02 23:11:20 +0000 |
---|---|---|
committer | ivoras <ivoras@FreeBSD.org> | 2008-11-02 23:11:20 +0000 |
commit | d819bb20f8fec8800e90f58484a1a50ed9820dfd (patch) | |
tree | 6ff972a127f10e9e3c04595fd1ef181ed46fe08e /sys/kern | |
parent | 8287eede8234a2d0bde06e0ca1635c406e0cd6a9 (diff) | |
download | FreeBSD-src-d819bb20f8fec8800e90f58484a1a50ed9820dfd.zip FreeBSD-src-d819bb20f8fec8800e90f58484a1a50ed9820dfd.tar.gz |
Increase the initial sbuf size for CPU topology dump to something more
usable for newer CPUs. The new value allows 2 x quad core configuration
dumps to fit within the initial buffer without reallocations.
Approved by: gnn (mentor) (older version)
Pointed out by: rdivacky
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/sched_ule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index d6d1ba6..377f815 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -2665,7 +2665,7 @@ sysctl_kern_sched_topology_spec(SYSCTL_HANDLER_ARGS) KASSERT(cpu_top != NULL, ("cpu_top isn't initialized")); - topo = sbuf_new(NULL, NULL, 100, SBUF_AUTOEXTEND); + topo = sbuf_new(NULL, NULL, 500, SBUF_AUTOEXTEND); if (topo == NULL) return (ENOMEM); |