mbufphdr_ctor(obj, private, ocflags);
cl = objcache_get(mclmeta_cache, ocflags);
- if (cl == NULL)
+ if (cl == NULL) {
+ ++mbstat[mycpu->gd_cpuid].m_drops;
return (FALSE);
+ }
m->m_flags |= M_CLCACHE;
linkcluster(m, cl);
return (TRUE);
mbuf_ctor(obj, private, ocflags);
cl = objcache_get(mclmeta_cache, ocflags);
- if (cl == NULL)
+ if (cl == NULL) {
+ ++mbstat[mycpu->gd_cpuid].m_drops;
return (FALSE);
+ }
m->m_flags |= M_CLCACHE;
linkcluster(m, cl);
return (TRUE);
m_reclaim();
goto retryonce;
}
+ ++mbstat[mycpu->gd_cpuid].m_drops;
return (NULL);
}
m_reclaim();
goto retryonce;
}
+ ++mbstat[mycpu->gd_cpuid].m_drops;
return (NULL);
}
m_reclaim();
goto retryonce;
}
+ ++mbstat[mycpu->gd_cpuid].m_drops;
return (NULL);
}
if (mcl != NULL) {
linkcluster(m, mcl);
atomic_add_long_nonlocked(&mbstat[mycpu->gd_cpuid].m_clusters, 1);
+ } else {
+ ++mbstat[mycpu->gd_cpuid].m_drops;
}
}