Home
last modified time | relevance | path

Searched full:migration (Results 1 – 25 of 373) sorted by relevance

12345678910>>...15

/linux/Documentation/mm/
H A Dpage_migration.rst2 Page migration
5 Page migration allows moving the physical location of pages between
13 The main intent of page migration is to reduce the latency of memory accesses
17 Page migration allows a process to manually relocate the node on which its
23 Page migration functions are provided by the numactl package by Andi Kleen
27 migration. cat ``/proc/<pid>/numa_maps`` allows an easy review of where the
31 Manual migration is useful if for example the scheduler has relocated
35 manual page migration support. Automatic page migration may be implemented
52 Page migration allows the preservation of the relative location of pages
53 within a group of nodes for all migration techniques which will preserve a
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_sriov_vf.c52 * the MIGRATED interrupt and schedules post-migration recovery worker.
107 * | | migration fixups -------[ ]
132 INIT_WORK(&xe->sriov.vf.migration.worker, migration_worker_func); in xe_sriov_vf_init_early()
139 * After migration, we need to re-query all VF configuration to make sure
164 * Return: True if migration recovery worker will soon be running. Any worker currently
169 return xe->sriov.vf.migration.gt_flags != 0 || in vf_post_migration_imminent()
170 work_pending(&xe->sriov.vf.migration.worker); in vf_post_migration_imminent()
196 drm_dbg(&xe->drm, "migration recovery in progress\n"); in vf_post_migration_recovery()
207 drm_notice(&xe->drm, "migration recovery ended\n"); in vf_post_migration_recovery()
211 drm_dbg(&xe->drm, "migration recovery deferred\n"); in vf_post_migration_recovery()
[all …]
H A Dxe_sriov_types.h67 /** @migration: VF Migration state data */
69 /** @migration.worker: VF migration recovery worker */
71 /** @migration.gt_flags: Per-GT request flags for VF migration recovery */
73 } migration; member
H A Dxe_migrate_doc.h39 * The first batch is used to update the migration VM page structure to point to
62 * Like binds, the first batch is used update the migration VM page structure.
65 * page structure. We use the 16 reserved pages in migration VM for mappings,
/linux/tools/testing/selftests/kvm/
H A Drseq_test.c33 * Any bug related to task migration is likely to be timing-dependent; perform
87 * that a migration may have occurred in between rseq and sched in migration_worker()
88 * CPU ID reads. An odd sequence count indicates a migration in migration_worker()
90 * a migration occurred since the count was last read. in migration_worker()
112 * 1. To allow sched_setaffinity() to prompt migration before in migration_worker()
129 * before the next round of migration. The test's check on in migration_worker()
130 * the rseq CPU ID must wait for migration to complete in in migration_worker()
132 * will be missed if the next migration starts before the in migration_worker()
193 "Only one usable CPU, task migration not possible"); in calc_min_max_cpu()
268 * Verify rseq's CPU matches sched's CPU. Ensure migration in main()
[all …]
/linux/Documentation/ABI/testing/
H A Ddebugfs-vfio10 What: /sys/kernel/debug/vfio/<device>/migration
15 of vfio devices that support live migration.
16 The debugfs of each vfio device that supports live migration
19 What: /sys/kernel/debug/vfio/<device>/migration/state
23 Description: Read the live migration status of the vfio device.
24 The contents of the state file reflects the migration state
H A Dsysfs-kernel-mm-numa11 Page migration during reclaim is intended for systems
16 Allowing page migration during reclaim enables these
18 when the fast tier is under pressure. This migration
/linux/tools/testing/selftests/kvm/s390/
H A Dcmma_test.c3 * Test for s390x CMMA migration
191 TEST_ASSERT(!r, "enabling migration mode failed r=%d errno=%d", r, errno); in enable_migration_mode()
204 TEST_ASSERT(!r, "getting migration mode status failed r=%d errno=%d", r, errno); in is_migration_mode_on()
243 /* GET_CMMA_BITS without migration mode and without peeking should fail */ in test_get_cmma_basic()
248 /* GET_CMMA_BITS without migration mode and with peeking should work */ in test_get_cmma_basic()
279 /* enabling migration mode on a VM without memory should fail */ in test_migration_mode()
283 TEST_ASSERT(!is_migration_mode_on(vm), "migration mode should still be off"); in test_migration_mode()
300 /* migration mode when memslots have dirty tracking off should fail */ in test_migration_mode()
304 TEST_ASSERT(!is_migration_mode_on(vm), "migration mode should still be off"); in test_migration_mode()
310 /* enabling migration mode should work now */ in test_migration_mode()
[all …]
/linux/mm/
H A Dmigrate_device.c3 * Device Memory Migration functionality.
186 * any kind of migration. Side effect is that it "freezes" the in migrate_vma_collect_pmd()
200 * migration as it is only best effort anyway. in migrate_vma_collect_pmd()
202 * If we can lock the folio it's safe to set up a migration entry in migrate_vma_collect_pmd()
204 * single process setting up the migration entry now is an in migrate_vma_collect_pmd()
236 /* Setup special migration page table entry */ in migrate_vma_collect_pmd()
304 * @migrate: migrate struct containing all migration information
336 * folio_migrate_mapping(), except that here we allow migration of a
373 * Unmaps pages for migration. Returns number of source pfns marked as
456 * migrate_vma_unmap() - replace page mapping with special migration pte entry
[all …]
H A Dmigrate.c3 * Memory Migration functionality - linux/mm/migrate.c
7 * Page migration was first developed in the context of the memory hotplug
8 * project. The main authors of the migration code are:
82 * compaction threads can race against page migration functions in isolate_movable_page()
86 * being (wrongly) re-isolated while it is under migration, in isolate_movable_page()
128 * from where they were once taken off for compaction/migration.
238 * Restore a potential migration pte to a working pte entry
260 /* PMD-mapped THP migration entry */ in remove_migration_pte()
346 * Get rid of all migration entries and replace them by
370 * Something used the pte of a page under migration. We need to
[all …]
/linux/include/linux/
H A Dballoon_compaction.h7 * Balloon page migration makes use of the general non-lru movable page
11 * page->mapping is used in context of non-lru page migration to reference
12 * the address space operations for page isolation/migration/compaction.
17 * and safely perform balloon's page compaction and migration we must, always,
33 * compaction / migration.
51 * have to cope for page compaction / migration, as well as it serves the
55 unsigned long isolated_pages; /* # of isolated pages for migration */
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_migrate.c137 * Migration will implicitly unbind (asynchronously) any bound in lmem_pages_migrate_one()
144 pr_err("Object failed migration to smem\n"); in lmem_pages_migrate_one()
163 pr_err("Object failed migration to lmem\n"); in lmem_pages_migrate_one()
269 /* Finally sync migration and check content. */ in __igt_lmem_pages_migrate()
360 * This subtest tests that unbinding at migration is indeed performed
362 * that spinner to have terminated. Before each migration we bind a
363 * vma, which should then be async unbound by the migration operation.
368 * Note that each async bind operation is awaiting the previous migration
369 * due to the moving fence resulting from the migration.
443 * arming the migration error check and block async migration. This
/linux/Documentation/networking/
H A Dnet_failover.rst24 datapath. It also enables hypervisor controlled live migration of a VM with
65 be brought UP during live migration to allow uninterrupted communication.
113 Live Migration of a VM with SR-IOV VF & virtio-net in STANDBY mode
116 net_failover also enables hypervisor controlled live migration to be supported
120 Here is a sample script that shows the steps to initiate live migration from
165 # Clean up FDB entries after migration completes.
169 On the destination hypervisor, a shared bridge 'br0' is created before migration
173 The following script is executed on the destination hypervisor once migration
/linux/Documentation/admin-guide/cgroup-v1/
H A Dmemcg_test.rst102 The logic is very clear. (About migration, see below)
129 7. Page Migration
162 9.3 Migration
165 For NUMA, migration is an another special case. To do easy test, cpuset
166 is useful. Following is a sample script to do migration::
179 In above set, when you moves a task from 01 to 02, page migration to
211 This is an easy way to test page migration, too.
298 9.9 Move charges at task migration
301 Charges associated with a task can be moved along with task migration.
/linux/Documentation/admin-guide/mm/
H A Duserfaultfd.rst295 the VM to another physical machine. Since we want the migration to be
304 migration. Postcopy live migration is one form of memory
309 migration to QEMU.
317 It is generally beneficial to run one pass of precopy live migration
318 just before starting postcopy live migration, in order to avoid
321 The implementation of postcopy live migration currently uses one
327 in the destination node, into the socket, and the migration thread of
337 by the parallel QEMU migration thread).
345 migration thread in the QEMU running in the destination node will
353 migration around and a single per-page bitmap has to be maintained in
[all …]
/linux/arch/powerpc/platforms/pseries/
H A Dvas.c433 * The migration SUSPEND thread sets migration_in_progress and in vas_allocate_window()
438 * initiates the migration. in vas_allocate_window()
533 * lost the credit or with migration. So just remove the entry in vas_deallocate_window()
677 * For partition migration, reopen all windows that are closed in reconfig_open_windows()
691 * Open windows if they are closed only with migration or in reconfig_open_windows()
701 * This window is closed with DLPAR and migration events. in reconfig_open_windows()
704 * migration notifier. So the user space can issue DLPAR in reconfig_open_windows()
705 * CPU hotplug while migration in progress. In this case in reconfig_open_windows()
777 * or for migration before. Go for next window. in reconfig_close_windows()
778 * For migration, nothing to do since this window in reconfig_close_windows()
[all …]
/linux/kernel/time/
H A Dtimer_migration.h22 * struct tmigr_group - timer migration hierarchy group
76 * struct tmigr_cpu - timer migration per CPU group
84 * idle before the timer migration hierarchy hotplug AP is
87 * @idle: Indicates whether the CPU is idle in the timer migration
92 * @wakeup: Stores the first timer when the timer migration
/linux/drivers/vfio/pci/pds/
H A Dcmds.c192 dev_dbg(dev, "vf%u: Get migration status\n", pds_vfio->vf_id); in pds_vfio_get_lm_state_size_cmd()
295 dev_dbg(&pdev->dev, "vf%u: Get migration state\n", pds_vfio->vf_id); in pds_vfio_get_lm_state_cmd()
301 dev_err(&pdev->dev, "failed to map save migration file: %pe\n", in pds_vfio_get_lm_state_cmd()
311 dev_err(&pdev->dev, "failed to get migration state: %pe\n", in pds_vfio_get_lm_state_cmd()
333 dev_dbg(&pdev->dev, "vf%u: Set migration state\n", pds_vfio->vf_id); in pds_vfio_set_lm_state_cmd()
340 "failed to map restore migration file: %pe\n", in pds_vfio_set_lm_state_cmd()
350 dev_err(&pdev->dev, "failed to set migration state: %pe\n", in pds_vfio_set_lm_state_cmd()
376 dev_warn(dev, "Invalid host VF migration status, %d\n", in pds_vfio_send_host_vf_lm_status_cmd()
383 dev_warn(dev, "failed to send host VF migration status: %pe\n", in pds_vfio_send_host_vf_lm_status_cmd()
H A Dpci_drv.c25 * Documentation states that the kernel migration driver must not in pds_vfio_recovery()
31 * 1. Migration is in progress, which will cause the next step of in pds_vfio_recovery()
32 * the migration to fail. in pds_vfio_recovery()
62 * error and may cause migration to fail. in pds_vfio_pci_notify_handler()
/linux/Documentation/virt/kvm/devices/
H A Dvm.rst291 Allows userspace to stop migration mode, needed for PGSTE migration.
292 Setting this attribute when migration mode is not active will have no
301 Allows userspace to start migration mode, needed for PGSTE migration.
302 Setting this attribute when migration mode is already active will have
306 dirty tracking is disabled on any memslot, migration mode is automatically
310 :Returns: -ENOMEM if there is not enough free memory to start migration mode;
317 Allows userspace to query the status of migration mode.
320 the data itself is either 0 if migration mode is disabled or 1
/linux/tools/perf/scripts/python/bin/
H A Dsched-migration-report2 # description: sched migration overview
3 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/sched-migration.py
/linux/drivers/vfio/pci/hisilicon/
H A Dhisi_acc_vfio_pci.h121 /* For migration state */
139 * It holds migration data corresponding to the last migration
/linux/tools/testing/selftests/cgroup/
H A Dtest_cpuset.c62 * Deliberately don't set cpuset.cpus in children to avoid definining migration
120 /* Carry out migration in a child process that can drop all privileges in test_cpuset_perms_object()
124 * as hacky way to pass information about migration target to the child. in test_cpuset_perms_object()
164 * Implicit migration happens when a controller is enabled/disabled.
/linux/tools/testing/selftests/mm/
H A Dmkdirty.c162 ksft_print_msg("[INFO] Page migration\n"); in test_page_migration()
178 /* Trigger page migration. Might not be available or fail. */ in test_page_migration()
195 ksft_print_msg("[INFO] Page migration of THP\n"); in test_page_migration_thp()
217 /* Trigger page migration. Might not be available or fail. */ in test_page_migration_thp()
361 * On page migration, the kernel may set the PTE/PMD dirty when in main()
/linux/drivers/vfio/pci/qat/
H A Dmain.c20 * The migration data of each Intel QAT VF device is encapsulated into a
30 * When the pre-configured part of the migration data is fully retrieved from
35 * from the raw state sections of the VF state part of the migration data and
41 /* protects migration region context */
51 /* protects migration state */
252 * Allocate a file handler for user space and then save the migration data for
699 MODULE_DESCRIPTION("QAT VFIO PCI - VFIO PCI driver with live migration support for Intel(R) QAT GEN…

12345678910>>...15