projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.infradead.org/users/eparis/notify
[cascardo/linux.git]
/
include
/
linux
/
ksm.h
diff --git
a/include/linux/ksm.h
b/include/linux/ksm.h
index
43bdab7
..
74d691e
100644
(file)
--- a/
include/linux/ksm.h
+++ b/
include/linux/ksm.h
@@
-78,7
+78,7
@@
static inline struct page *ksm_might_need_to_copy(struct page *page,
struct anon_vma *anon_vma = page_anon_vma(page);
if (!anon_vma ||
- (anon_vma
== vma->anon_vma
&&
+ (anon_vma
->root == vma->anon_vma->root
&&
page->index == linear_page_index(vma, address)))
return page;