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: page_alloc: unreserve highatomic page blocks before oom
[linux-2.6-microblaze.git]
/
mm
/
ksm.c
diff --git
a/mm/ksm.c
b/mm/ksm.c
index
6a83100
..
5d60d53
100644
(file)
--- a/
mm/ksm.c
+++ b/
mm/ksm.c
@@
-1099,9
+1099,9
@@
error:
static u32 calc_checksum(struct page *page)
{
u32 checksum;
- void *addr = kmap_
atomic
(page);
+ void *addr = kmap_
local_page
(page);
checksum = xxhash(addr, PAGE_SIZE, 0);
- kunmap_
atomic
(addr);
+ kunmap_
local
(addr);
return checksum;
}