X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=mm%2Fworkingset.c;h=61ead9e5549df171f43fa53936a4b8cbd86a21a5;hb=81f8c3a461d16f0355ced3d56d6d1bb5923207a1;hp=aa017133744b227bed7592ea6cc32f360c3e142c;hpb=c102cb097d9371c2c60049d041ab1f8bdca5ccc2;p=cascardo%2Flinux.git diff --git a/mm/workingset.c b/mm/workingset.c index aa017133744b..61ead9e5549d 100644 --- a/mm/workingset.c +++ b/mm/workingset.c @@ -351,8 +351,8 @@ static enum lru_status shadow_lru_isolate(struct list_head *item, node->slots[i] = NULL; BUG_ON(node->count < (1U << RADIX_TREE_COUNT_SHIFT)); node->count -= 1U << RADIX_TREE_COUNT_SHIFT; - BUG_ON(!mapping->nrshadows); - mapping->nrshadows--; + BUG_ON(!mapping->nrexceptional); + mapping->nrexceptional--; } } BUG_ON(node->count);