| /tools/testing/selftests/mm/ |
| A D | charge_reserved_hugetlb.sh | 91 MB=$(get_machine_hugepage_size) 101 echo "$cgroup_limit" >$cgroup_path/$name/hugetlb.${MB}MB.$fault_limit_file 105 $cgroup_path/$name/hugetlb.${MB}MB.$reservation_limit_file 169 local hugetlb_usage=$cgroup_path/$cgroup/hugetlb.${MB}MB.$fault_usage_file 170 local reserved_usage=$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file 301 local final_hugetlb=$(cat $cgroup_path/hugetlb_cgroup_test/hugetlb.${MB}MB.$fault_usage_file) 302 …local final_reservation=$(cat $cgroup_path/hugetlb_cgroup_test/hugetlb.${MB}MB.$reservation_usage_… 358 local cgroup1_hugetlb_usage=$cgroup_path/hugetlb_cgroup_test1/hugetlb.${MB}MB.$fault_usage_file 359 …local cgroup1_reservation_usage=$cgroup_path/hugetlb_cgroup_test1/hugetlb.${MB}MB.$reservation_usa… 360 local cgroup2_hugetlb_usage=$cgroup_path/hugetlb_cgroup_test2/hugetlb.${MB}MB.$fault_usage_file [all …]
|
| A D | ksm_tests.c | 28 #define MB (1ul << 20) macro 536 map_size *= MB; in ksm_merge_hugepages_time() 581 printf("Total size: %lu MiB\n", map_size / MB); in ksm_merge_hugepages_time() 584 printf("Average speed: %.3f MiB/s\n", (map_size / MB) / in ksm_merge_hugepages_time() 602 map_size *= MB; in ksm_merge_time() 622 printf("Total size: %lu MiB\n", map_size / MB); in ksm_merge_time() 625 printf("Average speed: %.3f MiB/s\n", (map_size / MB) / in ksm_merge_time() 643 map_size *= MB; in ksm_unmerge_time() 669 printf("Total size: %lu MiB\n", map_size / MB); in ksm_unmerge_time() 672 printf("Average speed: %.3f MiB/s\n", (map_size / MB) / in ksm_unmerge_time() [all …]
|
| A D | hugetlb_reparenting_test.sh | 48 MB=$(get_machine_hugepage_size) 110 assert_with_retry "$CGROUP_ROOT/a/hugetlb.${MB}MB.$usage_file" "$expected_a_hugetlb" 114 assert_with_retry "$CGROUP_ROOT/a/b/hugetlb.${MB}MB.$usage_file" "$expected_b_hugetlb" 163 size=$((${MB} * 1024 * 1024 * 25)) # 50MB = 25 * 2MB hugepages.
|
| A D | gup_test.c | 18 #define MB (1UL << 20) macro 28 static unsigned long size = 128 * MB; 135 size = atoi(optarg) * MB; in main()
|
| A D | mrelease_test.c | 17 #define MB(x) (x << 20) macro 72 res = alloc_noexit(MB(size) / psize(), pipefd[1]); in child_main()
|
| A D | pkey-x86.h | 35 #define MB (1<<20) macro
|
| /tools/perf/Documentation/ |
| A D | perf-iostat.txt | 18 - Inbound Read - I/O devices below root port read from the host memory, in MB 20 - Inbound Write - I/O devices below root port write to the host memory, in MB 22 - Outbound Read - CPU reads from I/O devices below root port, in MB 24 - Outbound Write - CPU writes to I/O devices below root port, in MB 61 … port Inbound Read(MB) Inbound Write(MB) Outbound Read(MB) Outbound Write(MB) 80 … port Inbound Read(MB) Inbound Write(MB) Outbound Read(MB) Outbound Write(MB)
|
| A D | perf-bench.txt | 182 Specify size of memory to copy (default: 1MB). 183 Available units are B, KB, MB, GB and TB (case insensitive). 206 Specify size of memory to set (default: 1MB). 207 Available units are B, KB, MB, GB and TB (case insensitive).
|
| A D | perf.data-directory-format.txt | 37 [ perf record: Captured and wrote 0.015 MB perf.data (9 samples) ]
|
| A D | examples.txt | 75 [ perf record: Captured and wrote 0.267 MB perf.data (~11679 samples) ] 129 [ perf record: Captured and wrote 0.963 MB perf.data (~42069 samples) ]
|
| /tools/testing/selftests/cgroup/ |
| A D | test_memcontrol.c | 173 size_t size = MB(50); in alloc_anon_50M_check() 272 if (peak < MB(50)) in test_memcg_current_peak() 328 if (peak < MB(50)) in test_memcg_current_peak() 352 if (peak < MB(50)) in test_memcg_current_peak() 357 if (peak < MB(50)) in test_memcg_current_peak() 361 if (peak < MB(50)) in test_memcg_current_peak() 595 current = min ? MB(50) : MB(30); in test_memcg_protection() 673 if (high != MB(30) && max != MB(30)) in alloc_pagecache_max_30M() 1127 if (peak < MB(29)) in test_memcg_swap_max_peak() 1131 if (peak < MB(29)) in test_memcg_swap_max_peak() [all …]
|
| A D | test_hugetlb_memcg.c | 105 if (current - old_current >= MB(2)) { in hugetlb_test_program() 118 if (current - old_current >= MB(2)) { in hugetlb_test_program() 127 expected_current = old_current + MB(2); in hugetlb_test_program() 140 expected_current = old_current + MB(8); in hugetlb_test_program()
|
| A D | test_zswap.c | 139 if (cg_run(test_group, allocate_bytes, (void *)MB(4))) in test_zswap_usage() 177 if (cg_run(test_group, allocate_and_read_bytes, (void *)MB(32))) in test_swapin_nozswap() 187 if (swap_peak < MB(24)) { in test_swapin_nozswap() 229 if (cg_run(test_group, allocate_and_read_bytes, (void *)MB(32))) in test_zswapin() 238 if (zswpin < MB(24) / PAGE_SIZE) { in test_zswapin() 266 size_t memsize = MB(4); in attempt_writeback() 418 size_t control_allocation_size = MB(10); in test_no_invasive_cgroup_shrink() 440 if (cg_run(wb_group, allocate_bytes, (void *)MB(10))) in test_no_invasive_cgroup_shrink()
|
| /tools/memory-model/ |
| A D | linux-kernel.def | 17 smp_store_mb(X,V) { __store{ONCE}(X,V); __fence{MB}; } 20 smp_mb() { __fence{MB}; } 31 xchg(X,V) __xchg{MB}(X,V) 35 cmpxchg(X,V,W) __cmpxchg{MB}(X,V,W) 79 atomic_fetch_add(V,X) __atomic_fetch_op{MB}(X,+,V) 84 atomic_fetch_and(V,X) __atomic_fetch_op{MB}(X,&,V) 89 atomic_fetch_or(V,X) __atomic_fetch_op{MB}(X,|,V) 103 atomic_fetch_inc(X) __atomic_fetch_op{MB}(X,+,1) 121 atomic_fetch_dec(X) __atomic_fetch_op{MB}(X,-,1) 126 atomic_xchg(X,V) __xchg{MB}(X,V) [all …]
|
| A D | linux-kernel.bell | 20 'MB (*xchg(),cmpxchg(),...*) 27 'MB (*smp_mb*) || 47 let Mb = MB \ FailedRMW 88 let Marked = (~M) | IW | ONCE | RELEASE | ACQUIRE | MB | RMW |
|
| /tools/memory-model/Documentation/ |
| A D | herd-representation.txt | 43 | smp_store_mb | W[ONCE] ->po F[MB] | 44 | smp_mb | F[MB] | 74 | atomic_add_return | R*[MB] ->rmw W*[MB] | 101 | atomic_cmpxchg | On success: R*[MB] ->rmw W*[MB] | 102 | | On failure: R*[MB] |
|
| /tools/testing/selftests/resctrl/ |
| A D | resctrl.h | 28 #define MB (1024 * 1024) macro 46 #define MINIMUM_SPAN (250 * MB)
|
| A D | fill_buf.c | 23 #define MB (1024 * 1024) macro
|
| A D | mbm_test.c | 40 ksft_print_msg("Span (MB): %zu\n", span / MB); in show_bw_info()
|
| /tools/bootconfig/scripts/ |
| A D | bconf2ftrace.sh | 237 *MB) 238 expr ${1%MB} \* 1024;;
|
| /tools/testing/selftests/mincore/ |
| A D | mincore_selftest.c | 22 #define MB (1UL << 20) macro 23 #define FILE_SIZE (4 * MB)
|
| /tools/testing/selftests/cgroup/lib/include/ |
| A D | cgroup_util.h | 9 #define MB(x) (x << 20) macro
|
| /tools/power/pm-graph/config/ |
| A D | standby-callgraph.cfg | 11 # NOTE: the output of this test is very large (> 30MB)
|
| A D | suspend-callgraph.cfg | 11 # NOTE: the output of this test is very large (> 30MB)
|
| A D | freeze-callgraph.cfg | 11 # NOTE: the output of this test is very large (> 30MB)
|