Johannes Weiner 6058eaec81 mm: fold and remove lru_cache_add_anon() and lru_cache_add_file()
They're the same function, and for the purpose of all callers they are
equivalent to lru_cache_add().

[akpm@linux-foundation.org: fix it for local_lock changes]
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Rik van Riel <riel@surriel.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Link: http://lkml.kernel.org/r/20200520232525.798933-5-hannes@cmpxchg.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-06-03 20:09:48 -07:00
..
2020-03-27 09:29:56 +00:00
2020-06-02 19:59:25 -07:00
2020-06-01 12:10:17 -07:00
2020-06-02 20:16:55 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 10:59:07 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 19:59:25 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 20:11:35 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
\n
2020-01-30 15:37:41 -08:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 19:48:41 -07:00
2020-06-02 15:29:19 -07:00
2020-05-14 16:44:24 +02:00
2020-06-02 15:37:03 -07:00
2020-05-13 08:44:35 -07:00
2020-06-02 19:59:25 -07:00
2020-05-14 16:44:25 +02:00
2020-06-02 15:29:19 -07:00
2020-02-07 14:48:35 -05:00
2020-04-20 15:45:41 -06:00
2020-06-02 15:42:50 -07:00
2020-06-02 15:42:50 -07:00
2020-03-05 21:00:40 -05:00
2020-05-14 16:44:24 +02:00
2020-03-12 17:33:11 -07:00
2020-05-14 16:44:24 +02:00
2020-06-02 15:42:50 -07:00
2020-06-02 19:45:12 -07:00
2020-06-02 15:29:19 -07:00
2020-05-14 16:44:24 +02:00
2020-04-09 15:33:09 -04:00