Lines Matching +full:double +full:- +full:phase
1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * can be enabled by "-s".
15 * echo never > /sys/kernel/mm/transparent_hugepage/hugepages-2048kB/enabled
16 * echo always > /sys/kernel/mm/transparent_hugepage/hugepages-64kB/enabled
20 * w/o "-s".
22 * Author(s): Barry Song <v-songbaohua@oppo.com>
44 "/sys/kernel/mm/transparent_hugepage/hugepages-64kB/stats/swpout"
46 "/sys/kernel/mm/transparent_hugepage/hugepages-64kB/stats/swpout_fallback"
63 * currently don't support large folios swap-in.
126 if (strcmp(argv[i], "-s") == 0) in main()
128 else if (strcmp(argv[i], "-a") == 0) in main()
160 /* warm-up phase to occupy the swapfile */ in main()
168 /* iterations with newly created mTHP, swap-in, and swap-out */ in main()
176 double fallback_percentage; in main()
183 * since large folio swap-in isn't supported yet. Once we support in main()
184 * mTHP swap-in, we'll likely need to reduce MEMSIZE_MTHP and in main()
219 swpout_inc = final_swpout - initial_swpout; in main()
220 swpout_fallback_inc = final_swpout_fallback - initial_swpout_fallback; in main()
222 fallback_percentage = (double)swpout_fallback_inc / in main()