diff options
Diffstat (limited to 'mm/ksm.c')
-rw-r--r-- | mm/ksm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |