]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: rename deactivate_page to deactivate_file_page
authorMinchan Kim <minchan@kernel.org>
Tue, 7 Apr 2015 23:44:27 +0000 (09:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Apr 2015 23:44:27 +0000 (09:44 +1000)
commit8118fba02c8cd6ee17bf19d2f56dab0d6bef5d37
treeed388121ec1f2d8e64e74833d6b5e46c944d6429
parent5bad7a1da06e4766617ca2ab01fe4cd6a6b814e0
mm: rename deactivate_page to deactivate_file_page

"deactivate_page" was created for file invalidation so it has too specific
logic for file-backed pages.  So, let's change the name of the function
and date to a file-specific one and yield the generic name.

Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Rik van Riel <riel@redhat.com>
Cc: Shaohua Li <shli@kernel.org>
Cc: Wang, Yalin <Yalin.Wang@sonymobile.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/swap.h
mm/swap.c
mm/truncate.c