]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: clean up __collapse_huge_page_isolate
authorBob Liu <lliubbo@gmail.com>
Fri, 9 Nov 2012 03:03:57 +0000 (14:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Nov 2012 05:15:19 +0000 (16:15 +1100)
commitc37407e3884e64bc3af4ce8cc53ad5ae90c2dd29
tree1094bbdbed767aab0b21fed6b7afcecbdb1c53d8
parent7d5dae817ddce27af616cdd136945946ee3d0c5a
thp: clean up __collapse_huge_page_isolate

There are duplicated places using release_pte_pages().
And release_all_pte_pages() can be removed.

Signed-off-by: Bob Liu <lliubbo@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Minchan Kim <minchan.kim@gmail.com>
Cc: Ni zhan Chen <nizhan.chen@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/huge_memory.c