mm: migrate: Account a transhuge page properly when rate limiting
authorMel Gorman <mgorman@suse.de>
Thu, 29 Nov 2012 09:24:36 +0000 (09:24 +0000)
committerMel Gorman <mgorman@suse.de>
Tue, 11 Dec 2012 14:42:59 +0000 (14:42 +0000)
If there is excessive migration due to NUMA balancing it gets rate
limited. It does this by counting the number of pages it has migrated
recently but counts a transhuge page as 1 page. Account for it properly.

Signed-off-by: Mel Gorman <mgorman@suse.de>

No differences found