Lines Matching +full:migration +full:- +full:memory
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Storage Key migration tests
6 * - sequential: set storage keys on some pages, migrates the VM and then
8 * - parallel: start migration and set and check storage keys on some
9 * pages while migration is in process.
53 * XOR-ing that with the given seed and then multipling the result with two.
123 if (result->verify_failed) in report_verify_result()
126 result->page_mismatch_idx, result->page_mismatch_addr, in report_verify_result()
127 result->expected_key.val, result->actual_key.val); in report_verify_result()
155 * we left off and can do an additional verify round after migration finished. in set_skeys_thread()
185 /* Ensure we read result and thread_iters below from memory after thread exited */ in test_skey_migration_parallel()
189 report_prefix_push("during migration"); in test_skey_migration_parallel()
196 * To be sure, make another verification round after the migration in test_skey_migration_parallel()
200 report_prefix_push("after migration"); in test_skey_migration_parallel()
202 result = verify_test_pattern(thread_iters - 1); in test_skey_migration_parallel()
212 report_info("Usage: migration-skey [--parallel|--sequential]"); in print_usage()
223 if (!strcmp("--parallel", argv[1])) in parse_args()
225 else if (!strcmp("--sequential", argv[1])) in parse_args()
233 report_prefix_push("migration-skey"); in main()