projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm: memcontrol: generalize locking for the page->mem_cgroup binding
[cascardo/linux.git]
/
mm
/
workingset.c
diff --git
a/mm/workingset.c
b/mm/workingset.c
index
aa01713
..
61ead9e
100644
(file)
--- 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;
node->slots[i] = NULL;
BUG_ON(node->count < (1U << RADIX_TREE_COUNT_SHIFT));
node->count -= 1U << RADIX_TREE_COUNT_SHIFT;
- BUG_ON(!mapping->nr
shadows
);
- mapping->nr
shadows
--;
+ BUG_ON(!mapping->nr
exceptional
);
+ mapping->nr
exceptional
--;
}
}
BUG_ON(node->count);
}
}
BUG_ON(node->count);