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/slab.c: do not hash pointers when debugging slab
[linux-2.6-microblaze.git]
/
mm
/
kmemleak.c
diff --git
a/mm/kmemleak.c
b/mm/kmemleak.c
index
3d47817
..
d73c142
100644
(file)
--- a/
mm/kmemleak.c
+++ b/
mm/kmemleak.c
@@
-1523,7
+1523,7
@@
static void kmemleak_scan(void)
if (page_count(page) == 0)
continue;
scan_block(page, page + 1, NULL);
- if (!(pfn
% (MAX_SCAN_SIZE / sizeof(*page))
))
+ if (!(pfn
& 63
))
cond_resched();
}
}