Home
last modified time | relevance | path

Searched refs:MB (Results 1 – 25 of 33) sorted by relevance

12

/tools/testing/selftests/mm/
A Dcharge_reserved_hugetlb.sh91 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 Dksm_tests.c28 #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 Dhugetlb_reparenting_test.sh48 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 Dgup_test.c18 #define MB (1UL << 20) macro
28 static unsigned long size = 128 * MB;
135 size = atoi(optarg) * MB; in main()
A Dmrelease_test.c17 #define MB(x) (x << 20) macro
72 res = alloc_noexit(MB(size) / psize(), pipefd[1]); in child_main()
A Dpkey-x86.h35 #define MB (1<<20) macro
/tools/perf/Documentation/
A Dperf-iostat.txt18 - 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 Dperf-bench.txt182 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 Dperf.data-directory-format.txt37 [ perf record: Captured and wrote 0.015 MB perf.data (9 samples) ]
A Dexamples.txt75 [ 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 Dtest_memcontrol.c173 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 Dtest_hugetlb_memcg.c105 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 Dtest_zswap.c139 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 Dlinux-kernel.def17 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 Dlinux-kernel.bell20 '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 Dherd-representation.txt43 | 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 Dresctrl.h28 #define MB (1024 * 1024) macro
46 #define MINIMUM_SPAN (250 * MB)
A Dfill_buf.c23 #define MB (1024 * 1024) macro
A Dmbm_test.c40 ksft_print_msg("Span (MB): %zu\n", span / MB); in show_bw_info()
/tools/bootconfig/scripts/
A Dbconf2ftrace.sh237 *MB)
238 expr ${1%MB} \* 1024;;
/tools/testing/selftests/mincore/
A Dmincore_selftest.c22 #define MB (1UL << 20) macro
23 #define FILE_SIZE (4 * MB)
/tools/testing/selftests/cgroup/lib/include/
A Dcgroup_util.h9 #define MB(x) (x << 20) macro
/tools/power/pm-graph/config/
A Dstandby-callgraph.cfg11 # NOTE: the output of this test is very large (> 30MB)
A Dsuspend-callgraph.cfg11 # NOTE: the output of this test is very large (> 30MB)
A Dfreeze-callgraph.cfg11 # NOTE: the output of this test is very large (> 30MB)

Completed in 33 milliseconds

12