Commit 74485cf
mm: migrate: consolidate mem_cgroup_migrate() calls
Rather than scattering mem_cgroup_migrate() calls all over the place,
have a single call from a safe place where every migration operation
eventually ends up in - migrate_page_copy().
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Suggested-by: Hugh Dickins <hughd@google.com>
Acked-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Mateusz Guzik <mguzik@redhat.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 7cf91a9 commit 74485cf
1 file changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
335 | | - | |
336 | 334 | | |
337 | 335 | | |
338 | 336 | | |
| |||
428 | 426 | | |
429 | 427 | | |
430 | 428 | | |
431 | | - | |
432 | | - | |
433 | 429 | | |
434 | 430 | | |
435 | 431 | | |
| |||
471 | 467 | | |
472 | 468 | | |
473 | 469 | | |
474 | | - | |
475 | | - | |
476 | 470 | | |
477 | 471 | | |
478 | 472 | | |
| |||
586 | 580 | | |
587 | 581 | | |
588 | 582 | | |
| 583 | + | |
| 584 | + | |
589 | 585 | | |
590 | 586 | | |
591 | 587 | | |
| |||
1846 | 1842 | | |
1847 | 1843 | | |
1848 | 1844 | | |
1849 | | - | |
1850 | 1845 | | |
1851 | 1846 | | |
1852 | 1847 | | |
| |||
0 commit comments