projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: move mem_cgroup_uncharge out of __page_cache_release()
[linux-2.6-microblaze.git]
/
mm
/
util.c
diff --git
a/mm/util.c
b/mm/util.c
index
e6351a8
..
bab284d
100644
(file)
--- a/
mm/util.c
+++ b/
mm/util.c
@@
-521,7
+521,7
@@
bool page_mapped(struct page *page)
return true;
if (PageHuge(page))
return false;
- for (i = 0; i <
(1 << compound_order(page)
); i++) {
+ for (i = 0; i <
compound_nr(page
); i++) {
if (atomic_read(&page[i]._mapcount) >= 0)
return true;
}