]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commitd28d433512f4f387e2563c14db45a7bb8a338b1a
tree0f56298e745df6c08a5b5aa202da7ca2f5d00ab6
parent7548341b28956ccd35a63ab12f01d8541041aa70
mm: migrate: Account a transhuge page properly when rate limiting

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>
mm/migrate.c