mm: numa: Rate limit the amount of memory that is migrated between nodes
authorMel Gorman <mgorman@suse.de>
Wed, 14 Nov 2012 21:41:46 +0000 (21:41 +0000)
committerMel Gorman <mgorman@suse.de>
Tue, 11 Dec 2012 14:42:50 +0000 (14:42 +0000)
commita8f6077213d285ca08dbf6d4a67470787388138b
tree1ce0c66b221a97e485d513552c75d29fe84b74bd
parent8177a420ed7c16c171ed3c3aec5b0676db38c247
mm: numa: Rate limit the amount of memory that is migrated between nodes

NOTE: This is very heavily based on similar logic in autonuma. It should
be signed off by Andrea but because there was no standalone
patch and it's sufficiently different from what he did that
the signed-off is omitted. Will be added back if requested.

If a large number of pages are misplaced then the memory bus can be
saturated just migrating pages between nodes. This patch rate-limits
the amount of memory that can be migrating between nodes.

Signed-off-by: Mel Gorman <mgorman@suse.de>
mm/migrate.c