]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-support-madvisemadv_free-fix-2
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Oct 2015 22:03:45 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:45 +0000 (09:03 +1100)
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c

index 9b519151b5a18b38b6c0ed15fc4f5efcc2a2ff10..de4d75fd11a9e9a350981aa4ef45ebb7d6bf46cf 100644 (file)
@@ -1090,7 +1090,7 @@ static unsigned long shrink_page_list(struct list_head *page_list,
                                VM_BUG_ON_PAGE(PageSwapCache(page), page);
                                if (!page_freeze_refs(page, 1))
                                        goto keep_locked;
-                               __clear_page_locked(page);
+                               __ClearPageLocked(page);
                                count_vm_event(PGLAZYFREED);
                                goto free_it;
                        }