| /linux/mm/ |
| H A D | migrate_device.c | 9 #include <linux/migrate.h> 25 struct migrate_vma *migrate = walk->private; in migrate_vma_collect_skip() local 29 migrate->dst[migrate->npages] = 0; in migrate_vma_collect_skip() 30 migrate->src[migrate->npages++] = 0; in migrate_vma_collect_skip() 41 struct migrate_vma *migrate = walk->private; in migrate_vma_collect_hole() local 49 (migrate->flags & MIGRATE_VMA_SELECT_COMPOUND) && in migrate_vma_collect_hole() 52 migrate->src[migrate->npages] = MIGRATE_PFN_MIGRATE | in migrate_vma_collect_hole() 54 migrate->dst[migrate->npages] = 0; in migrate_vma_collect_hole() 55 migrate->npages++; in migrate_vma_collect_hole() 56 migrate->cpages++; in migrate_vma_collect_hole() [all …]
|
| H A D | migrate.c | 3 * Memory Migration functionality - linux/mm/migrate.c 16 #include <linux/migrate.h> 49 #include <trace/events/migrate.h> 211 * migrate_movable_ops_page - migrate an isolated movable_ops page 216 * Migrate an isolated movable_ops page. 804 * For memory tiering mode, when migrate between slow and fast in folio_migrate_flags() 885 * @dst: The folio to migrate the data to. 887 * @mode: How to migrate the page. 889 * Common logic to directly migrate a single LRU folio suitable for 1010 * @dst: The folio to migrate to. [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_migrate.c | 36 static int copy(struct intel_migrate *migrate, in copy() argument 37 int (*fn)(struct intel_migrate *migrate, in copy() argument 44 struct drm_i915_private *i915 = migrate->context->engine->i915; in copy() 90 err = fn(migrate, &ww, src, dst, &rq); in copy() 151 GEM_BUG_ON(ce->vm != ce->engine->gt->migrate.context->vm); in intel_context_copy_ccs() 255 static int clear(struct intel_migrate *migrate, in clear() argument 256 int (*fn)(struct intel_migrate *migrate, in clear() argument 263 struct drm_i915_private *i915 = migrate->context->engine->i915; in clear() 301 err = intel_migrate_ccs_copy(migrate, &ww, NULL, in clear() 318 err = fn(migrate, &ww, obj, val, &rq); in clear() [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_pagemap.c | 8 #include <linux/migrate.h> 21 * to migrate memory back and forth between device memory and system RAM and 30 * population requests and after that migrate all device pages to system ram. 42 * and it can evict the range to system before trying to migrate. Ideally an 43 * implementation would just try to migrate the missing part of the range and 56 * migrate to / from device memory. 171 * @migrate_pfn: Array of migrate page frame numbers 304 * @migrate_pfn: Array of migrate pfns set up for the mapped pages. Used to 494 * drm_pagemap_migrate_to_devmem() - Migrate a struct mm_struct range to device memory 495 * @devmem_allocation: The device memory allocation to migrate to. [all …]
|
| /linux/tools/testing/selftests/mm/ |
| H A D | migration.c | 67 int migrate(uint64_t *ptr, int n1, int n2) in migrate() 91 printf("Didn't migrate %d pages\n", ret); in migrate() 94 perror("Couldn't migrate pages"); in migrate() 142 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0); 177 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0); 207 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0); 249 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0); 274 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0); 309 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0); 66 int migrate(uint64_t *ptr, int n1, int n2) migrate() function
|
| H A D | rmap.c | 154 FIXTURE(migrate) in FIXTURE() argument 159 FIXTURE_SETUP(migrate) in FIXTURE_SETUP() argument 195 FIXTURE_TEARDOWN(migrate) in FIXTURE_TEARDOWN() argument 257 /* migrate successfully */ in try_to_move_page() 311 TEST_F(migrate, anon) in TEST_F() argument 328 TEST_F(migrate, shm) in TEST_F() argument 353 TEST_F(migrate, file) in TEST_F() argument 410 TEST_F(migrate, ksm) in TEST_F() argument
|
| H A D | hmm-tests.c | 548 int ret, use_thp, migrate; in TEST_F() 550 for (migrate = 0; migrate < 2; ++migrate) { in TEST_F() 587 if (migrate) { in TEST_F() 613 if (!migrate) { in TEST_F() 629 if (!migrate) { in TEST_F() 943 * Migrate anonymous memory to device private memory. in TEST_F() 945 TEST_F(hmm, migrate) in TEST_F() 976 /* Migrate memor in TEST_F() 547 int ret, use_thp, migrate; TEST_F() local 994 TEST_F(hmm,migrate) TEST_F() argument [all...] |
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | migrate_reuseport.c | 3 * Check if we can migrate child sockets. 8 * 4. update a map to migrate all child sockets 13 * and migrate the requests in the accept queue 19 * and migrate the requests in the accept queue 23 * and migrate the requests in the accept queue 380 /* Migrate TCP_ESTABLISHED and TCP_SYN_RECV requests in migrate_dance() 389 /* No dance for TCP_NEW_SYN_RECV to migrate based on eBPF */ in migrate_dance() 420 /* Migrate from the last listener to the second one. in count_requests() 434 /* Migrate back to the last one from the second one */ in count_requests() 539 /* Migrate th in run_test() [all...] |
| /linux/include/linux/ |
| H A D | migrate.h | 31 * If the driver cannot migrate the page at the moment, it can return 118 return -EAGAIN; /* can't migrate now */ in migrate_misplaced_folio_prepare() 122 return -EAGAIN; /* can't migrate now */ in migrate_misplaced_folio() 187 * Set to vmf->page if this is being called to migrate a page as part of 194 void migrate_vma_pages(struct migrate_vma *migrate); 195 void migrate_vma_finalize(struct migrate_vma *migrate);
|
| H A D | psci.h | 29 int (*migrate)(unsigned long cpuid); member 41 u32 migrate; member
|
| H A D | compaction.h | 74 * that the migrate scanner can have isolated on migrate list, and free in compact_gap()
|
| /linux/tools/testing/selftests/net/tcp_ao/ |
| H A D | restore.c | 94 try_server_run("TCP-AO migrate to another socket (server)", port++, in server_fn() 128 test_fail("pre-migrate verify failed"); in test_get_sk_checkpoint() 169 test_ok("%s: post-migrate connection is broken", tst_name); in test_sk_restore() 171 test_fail("%s: post-migrate connection is working", tst_name); in test_sk_restore() 174 test_fail("%s: post-migrate connection is working", tst_name); in test_sk_restore() 176 test_ok("%s: post-migrate connection is alive", tst_name); in test_sk_restore() 205 test_sk_restore("TCP-AO migrate to another socket (client)", port++, in client_fn()
|
| H A D | seq-ext.c | 195 test_fail("pre-migrate verify failed"); in client_fn() 220 test_fail("post-migrate verify failed"); in client_fn() 222 test_ok("post-migrate connection alive"); in client_fn()
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_dmem.c | 42 #include <linux/migrate.h> 83 struct nouveau_dmem_migrate migrate; member 171 if (drm->dmem->migrate.copy_func(drm, folio_nr_pages(sfolio), in nouveau_dmem_copy_folio() 232 * FIXME what we really want is to find some heuristic to migrate more in nouveau_dmem_migrate_to_ram() 267 nouveau_fence_new(&fence, dmem->migrate.chan); in nouveau_dmem_migrate_to_ram() 517 nouveau_fence_new(&fence, chunk->drm->dmem->migrate.chan); in nouveau_dmem_evict_chunk() 558 struct nvif_push *push = &drm->dmem->migrate.chan->chan.push; in nvc0b5_migrate_copy() 631 struct nvif_push *push = &drm->dmem->migrate.chan->chan.push; in nvc0b5_migrate_clear() 691 drm->dmem->migrate.copy_func = nvc0b5_migrate_copy; in nouveau_dmem_migrate_init() 692 drm->dmem->migrate.clear_func = nvc0b5_migrate_clear; in nouveau_dmem_migrate_init() [all …]
|
| /linux/tools/perf/pmu-events/arch/arm64/hisilicon/hip08/ |
| H A D | uncore-hha.json | 148 "EventName": "sdir-home-migrate", 149 "BriefDescription": "Count of the number of HHA S-Dir read home migrate operations", 154 "EventName": "edir-home-migrate", 155 "BriefDescription": "Count of the number of HHA E-Dir read home migrate operations",
|
| /linux/Documentation/gpu/rfc/ |
| H A D | gpusvm.rst | 21 migrate can actually migrate, with only the faulting page guaranteed 22 to migrate). 110 migrate device layer are a performance bottleneck, having compound
|
| /linux/Documentation/gpu/xe/ |
| H A D | xe_migrate.rst | 4 Migrate Layer 8 :doc: Migrate Layer
|
| /linux/scripts/ |
| H A D | generate_rust_analyzer.py | 185 # > 0e071c2c6a58 ("Migrate core to Rust 2024") 186 # > f505d4e8e380 ("Migrate alloc to Rust 2024") 187 # > 0b2489c226c3 ("Migrate proc_macro to Rust 2024") 188 # > 993359e70112 ("Migrate std to Rust 2024")
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | xapic_ipi_test.c | 306 * migrate_pages with PID=0 will migrate all pages of this in do_migrations() 359 bool *migrate, int *delay_usecs) in get_cmdline_args() argument 371 *migrate = true; in get_cmdline_args() 397 bool migrate = false; in main() local 403 get_cmdline_args(argc, argv, &run_secs, &migrate, &delay_usecs); in main() 457 if (!migrate) in main()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_migrate_reuseport.c | 3 * Check if we can migrate child sockets. 97 SEC("sk_reuseport/migrate")
|
| /linux/arch/arm/kernel/ |
| H A D | psci_smp.c | 37 * migrate Migrate the context to a different CPU
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | arch_timer.c | 17 * even more, an option to migrate the vCPUs across pCPUs (-m), at a 109 "Failed to migrate the vCPU:%u to pCPU: %u; ret: %d", in test_migrate_vcpu() 186 …pr_info("\t-m: Frequency (in ms) of vCPUs to migrate to different pCPU. 0 to turn off (default: %u… in test_print_help()
|
| /linux/tools/perf/scripts/python/ |
| H A D | sched-migration.py | 191 def migrate(self, ts_list, new, old_cpu, new_cpu): member in TimeSlice 351 def migrate(self, headers, pid, prio, orig_cpu, dest_cpu): member in SchedEventProxy 353 ts.migrate(self.timeslices, pid, orig_cpu, dest_cpu) 418 parser.migrate(headers, pid, prio, orig_cpu, dest_cpu)
|
| /linux/Documentation/networking/ |
| H A D | net_failover.rst | 135 # Source Hypervisor migrate.sh 161 # Migrate the VM 162 virsh migrate --live --persistent $DOMAIN qemu+ssh://$REMOTE_HOST/system
|
| /linux/Documentation/trace/ |
| H A D | hwlat_detector.rst | 81 By default, one hwlat detector's kernel thread will migrate across each CPU 87 - round-robin: migrate across each CPU specified in cpumask [default]
|