]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
If we lost race or were migrated during bucket allocation for the per-CPU
authorglebius <glebius@FreeBSD.org>
Mon, 22 Oct 2018 15:48:07 +0000 (15:48 +0000)
committerglebius <glebius@FreeBSD.org>
Mon, 22 Oct 2018 15:48:07 +0000 (15:48 +0000)
commite30533f381be2742f5fbc6fa2feb1f039adace61
tree3497d33379d874e81ba46ae1ee0bee602ad35d24
parentc98294c2737f3f2fae58fab22986a3f926999089
If we lost race or were migrated during bucket allocation for the per-CPU
cache, then we put new bucket on generic bucket cache. However, code didn't
honor UMA_ZONE_NOBUCKETCACHE flag, so potentially we could start a cache
on a zone that clearly forbids that. Fix this.

Reviewed by: markj
sys/vm/uma_core.c