View | Details | Raw Unified | Return to bug 241048 | Differences between
and this patch

Collapse All | Expand All

(-)sys/vm/uma_core.c (+4 lines)
Lines 521-526 zone_foreach_keg(uma_zone_t zone, void (*kegfn)(um Link Here
521
{
521
{
522
	uma_klink_t klink;
522
	uma_klink_t klink;
523
523
524
	if ((zone->uz_flags & UMA_ZFLAG_CACHE) != 0)
525
		return;
524
	LIST_FOREACH(klink, &zone->uz_kegs, kl_link)
526
	LIST_FOREACH(klink, &zone->uz_kegs, kl_link)
525
		kegfn(klink->kl_keg);
527
		kegfn(klink->kl_keg);
526
}
528
}
Lines 1978-1983 zone_foreach(void (*zfunc)(uma_zone_t)) Link Here
1978
		LIST_FOREACH(zone, &keg->uk_zones, uz_link)
1980
		LIST_FOREACH(zone, &keg->uk_zones, uz_link)
1979
			zfunc(zone);
1981
			zfunc(zone);
1980
	}
1982
	}
1983
	LIST_FOREACH(zone, &uma_cachezones, uz_link)
1984
		zfunc(zone);
1981
	rw_runlock(&uma_rwlock);
1985
	rw_runlock(&uma_rwlock);
1982
}
1986
}
1983
1987

Return to bug 241048