diff options
author | Hugh Dickins <hughd@google.com> | 2021-07-07 13:13:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-07-11 15:05:15 -0700 |
commit | 6c855fce2e62e5e9b796b23fe15be1d8b2c8bee2 (patch) | |
tree | e11059a1e02e73a6c78e5004596e08f66668340d /lib/dynamic_queue_limits.c | |
parent | 023e1a8dd502405ba378a7fbb1ce62beb0616708 (diff) | |
download | linux-6c855fce2e62e5e9b796b23fe15be1d8b2c8bee2.tar.gz linux-6c855fce2e62e5e9b796b23fe15be1d8b2c8bee2.tar.bz2 linux-6c855fce2e62e5e9b796b23fe15be1d8b2c8bee2.zip |
mm/rmap: try_to_migrate() skip zone_device !device_private
I know nothing about zone_device pages and !device_private pages; but if
try_to_migrate_one() will do nothing for them, then it's better that
try_to_migrate() filter them first, than trawl through all their vmas.
Signed-off-by: Hugh Dickins <hughd@google.com>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Reviewed-by: Alistair Popple <apopple@nvidia.com>
Link: https://lore.kernel.org/lkml/1241d356-8ec9-f47b-a5ec-9b2bf66d242@google.com/
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Yang Shi <shy828301@gmail.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/dynamic_queue_limits.c')
0 files changed, 0 insertions, 0 deletions