Merge uma_core.c:1.136 from HEAD to RELENG_6:
Skip per-cpu caches associated with absent CPUs when generating a memory statistics record stream via sysctl. Approved by: re (scottl)
This commit is contained in:
parent
c2f1fc6b2c
commit
67ad5e7105
@ -3016,6 +3016,8 @@ restart:
|
||||
bzero(&ups, sizeof(ups));
|
||||
if (kz->uk_flags & UMA_ZFLAG_INTERNAL)
|
||||
goto skip;
|
||||
if (CPU_ABSENT(i))
|
||||
goto skip;
|
||||
cache = &z->uz_cpu[i];
|
||||
if (cache->uc_allocbucket != NULL)
|
||||
ups.ups_cache_free +=
|
||||
|
Loading…
x
Reference in New Issue
Block a user