X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=lib%2Fradix-tree.c;h=402eb4eb6b23634492245c4393a0c2829de81de0;hb=3c8c90ab8810a8ebb38a5f1dde2595b750d5adff;hp=d69ddbe438655be6b65672d2c7366371baadfd85;hpb=e9ccb79927225d8cd8d022a7c09bfb2fad935b89;p=cascardo%2Flinux.git diff --git a/lib/radix-tree.c b/lib/radix-tree.c index d69ddbe43865..402eb4eb6b23 100644 --- a/lib/radix-tree.c +++ b/lib/radix-tree.c @@ -1004,7 +1004,7 @@ static int radix_tree_callback(struct notifier_block *nfb, struct radix_tree_preload *rtp; /* Free per-cpu pool of perloaded nodes */ - if (action == CPU_DEAD) { + if (action == CPU_DEAD || action == CPU_DEAD_FROZEN) { rtp = &per_cpu(radix_tree_preloads, cpu); while (rtp->nr) { kmem_cache_free(radix_tree_node_cachep,