Re: MAXCPU preparations

From: Robert N. M. Watson <rwatson_at_FreeBSD.org>
Date: Tue, 28 Sep 2010 19:19:28 +0100
On 28 Sep 2010, at 17:45, Sean Bruno wrote:

> Working on a dynamic version today.  I'll spam it over to you for review
> later.  
> 
> I'm moving the percpu struct definitions outside of struct memory_type,
> allocating quantity kern.smp.maxcpus, removing the boundary checks based
> on MEMSTAT_MAXCPU and then removing MEMSTAT_MAXCPU all together.

Sounds like the right answer. Make sure to also keep the adapt the use of maxcpus from crashdumps so that we can also size the data structure when analyzing cores (or /dev/kmem or firewire).

Robert
Received on Tue Sep 28 2010 - 16:19:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:07 UTC