]> 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>
Fri, 9 Nov 2012 03:08:31 +0000 (14:08 +1100)
commit9bf78742578a623eb5d70ff1ee80582432b1e4be
treee86e0eba1961027c48d34cff9c826c170e6cf940
parente967f03ff0e56550e65912097cb1e96bebf91b20
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