commit | 8186eb6a799e4e32f984b55858d8e393938be0c1 | [log] [tgz] |
---|---|---|
author | Johannes Weiner <hannes@cmpxchg.org> | Wed Oct 29 14:50:51 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Oct 29 16:33:15 2014 -0700 |
tree | 972a445b8a00c5c0f0a360d30893239cfa1f4e8e | |
parent | d7365e783edb858279be1d03f61bc8d5d3383d90 [diff] |
mm: rmap: split out page_remove_file_rmap() page_remove_rmap() has too many branches on PageAnon() and is hard to follow. Move the file part into a separate function. Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Reviewed-by: Michal Hocko <mhocko@suse.cz> Cc: Vladimir Davydov <vdavydov@parallels.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>