Remove unnecessary and undesirable 'static' from function-local keg

list, which could cause problems for multi-threaded applications
using libmemstat to monitor UMA in more than one thread
simultaneously.

MFC after:	3 days
This commit is contained in:
Robert Watson 2006-01-16 00:37:20 +00:00
parent 707ca316b6
commit c21f7757d2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154416

View file

@ -301,7 +301,7 @@ kread_symbol(kvm_t *kvm, int index, void *address, size_t size,
int
memstat_kvm_uma(struct memory_type_list *list, void *kvm_handle)
{
static LIST_HEAD(, uma_keg) uma_kegs;
LIST_HEAD(, uma_keg) uma_kegs;
struct memory_type *mtp;
struct uma_bucket *ubp, ub;
struct uma_cache *ucp;