aboutsummaryrefslogtreecommitdiffstats
path: root/mm/ksm.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/ksm.c')
-rw-r--r--mm/ksm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/ksm.c b/mm/ksm.c
index 1bbe785aa559..942dfc73a2ff 100644
--- a/mm/ksm.c
+++ b/mm/ksm.c
@@ -720,7 +720,7 @@ static int write_protect_page(struct vm_area_struct *vma, struct page *page,
720 swapped = PageSwapCache(page); 720 swapped = PageSwapCache(page);
721 flush_cache_page(vma, addr, page_to_pfn(page)); 721 flush_cache_page(vma, addr, page_to_pfn(page));
722 /* 722 /*
723 * Ok this is tricky, when get_user_pages_fast() run it doesnt 723 * Ok this is tricky, when get_user_pages_fast() run it doesn't
724 * take any lock, therefore the check that we are going to make 724 * take any lock, therefore the check that we are going to make
725 * with the pagecount against the mapcount is racey and 725 * with the pagecount against the mapcount is racey and
726 * O_DIRECT can happen right after the check. 726 * O_DIRECT can happen right after the check.