Merge memstat_uma.c:1.12 from HEAD to RELENG_6:
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. Approved by: re (scottl)
This commit is contained in:
parent
f017c618f0
commit
2bb304d44c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user