]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mm: rename deactivate_page to deactivate_file_page
authorMinchan Kim <minchan@kernel.org>
Wed, 15 Apr 2015 23:13:26 +0000 (16:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 Apr 2015 23:35:17 +0000 (16:35 -0700)
commitcc5993bd7b8cff4a3e37042ee1358d1d5eafa70c
treed100134adb4f0cb82632a5c5e79225ffcd0b10b4
parent922c0551a795dccadeb1dadc756d93fe3e303180
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/swap.h
mm/swap.c
mm/truncate.c