Home
last modified time | relevance | path

Searched refs:pages_per_thread (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/tools/testing/selftests/mm/
Dpagemap_ioctl.c1304 static const unsigned int nthreads = 6, pages_per_thread = 32, access_per_thread = 8; variable
1397 mem = mmap(NULL, 0x1000 * nthreads * pages_per_thread, PROT_READ | PROT_WRITE, in transact_test()
1402 wp_init(mem, 0x1000 * nthreads * pages_per_thread); in transact_test()
1403 wp_addr_range(mem, 0x1000 * nthreads * pages_per_thread); in transact_test()
1405 memset(mem, 0, 0x1000 * nthreads * pages_per_thread); in transact_test()
1407 count = get_dirty_pages_reset(mem, nthreads * pages_per_thread, 1, page_size); in transact_test()
1409 count = get_dirty_pages_reset(mem, nthreads * pages_per_thread, 1, page_size); in transact_test()
1414 pthread_create(&th, NULL, thread_proc, mem + 0x1000 * i * pages_per_thread); in transact_test()
1424 count = get_dirty_pages_reset(mem, nthreads * pages_per_thread, 1, in transact_test()
1435 c = get_dirty_pages_reset(mem, nthreads * pages_per_thread, 1, page_size); in transact_test()