From: Jacobo Giralt Date: Tue, 10 Jan 2012 23:07:11 +0000 (-0800) Subject: mm: migrate: one less atomic operation X-Git-Tag: v3.3-rc1~113^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=937a94c9db30a818baa5e2c09dbf4589251355c3;p=pandora-kernel.git mm: migrate: one less atomic operation migrate_page_move_mapping() drops a reference from the old page after unfreezing its counter. Both operations can be merged into a single atomic operation by directly unfreezing to one less reference. The same applies to migrate_huge_page_move_mapping(). Signed-off-by: Jacobo Giralt Cc: Mel Gorman Cc: Minchan Kim Cc: Johannes Weiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed