| /Linux-v6.6/Documentation/translations/zh_CN/admin-guide/mm/ |
| D | ksm.rst | 41 int madvise(addr, length, MADV_MERGEABLE) 51 如果KSM未被配置到正在运行的内核中,则madvise MADV_MERGEABLE 和 MADV_UNMERGEABLE 53 调用通常会成功:即使KSM守护程序当前没有运行,MADV_MERGEABLE 仍然会在KSM守护程序 55 应用于从未标记为MADV_MERGEABLE的范围。 57 如果一块内存区域必须被拆分为至少一个新的MADV_MERGEABLE区域或MADV_UNMERGEABLE区域, 130 KSM与MADV_MERGEABLE的工作有效性体现于 ``/sys/kernel/mm/ksm/`` 路径下的接口: 185 是否或如何使用KSM。例如,如果cow_ksm增加得太快,用户可以减少madvise(, , MADV_MERGEABLE)
|
| /Linux-v6.6/Documentation/admin-guide/mm/ |
| D | ksm.rst | 37 int madvise(addr, length, MADV_MERGEABLE) 50 If KSM is not configured into the running kernel, madvise MADV_MERGEABLE 53 KSM daemon is not currently running, MADV_MERGEABLE still registers 56 MADV_UNMERGEABLE is applied to a range which was never MADV_MERGEABLE. 58 If a region of memory must be split into at least one new MADV_MERGEABLE 67 Applications should be considerate in their use of MADV_MERGEABLE, 158 The effectiveness of KSM and MADV_MERGEABLE is shown in ``/sys/kernel/mm/ksm/``: 190 indicate poor use of madvise MADV_MERGEABLE. 244 range of madvise(, , MADV_MERGEABLE).
|
| /Linux-v6.6/tools/arch/mips/include/uapi/asm/ |
| D | mman.h | 12 #define MADV_MERGEABLE 12 macro
|
| /Linux-v6.6/tools/arch/xtensa/include/uapi/asm/ |
| D | mman.h | 11 #define MADV_MERGEABLE 12 macro
|
| /Linux-v6.6/tools/arch/alpha/include/uapi/asm/ |
| D | mman.h | 11 #define MADV_MERGEABLE 12 macro
|
| /Linux-v6.6/tools/arch/parisc/include/uapi/asm/ |
| D | mman.h | 11 #define MADV_MERGEABLE 12 macro
|
| /Linux-v6.6/include/uapi/asm-generic/ |
| D | mman-common.h | 59 #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ macro
|
| /Linux-v6.6/tools/include/uapi/asm-generic/ |
| D | mman-common.h | 59 #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ macro
|
| /Linux-v6.6/arch/xtensa/include/uapi/asm/ |
| D | mman.h | 93 #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ macro
|
| /Linux-v6.6/arch/mips/include/uapi/asm/ |
| D | mman.h | 84 #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ macro
|
| /Linux-v6.6/arch/parisc/include/uapi/asm/ |
| D | mman.h | 52 #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ macro
|
| /Linux-v6.6/arch/alpha/include/uapi/asm/ |
| D | mman.h | 58 #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ macro
|
| /Linux-v6.6/tools/testing/selftests/arm64/mte/ |
| D | check_ksm_options.c | 116 ret = madvise(ptr, TEST_UNIT * page_sz, MADV_MERGEABLE); in check_madvise_options()
|
| /Linux-v6.6/arch/parisc/kernel/ |
| D | sys_parisc.c | 392 case 65: behavior = MADV_MERGEABLE; break; in parisc_madvise()
|
| /Linux-v6.6/tools/testing/selftests/mm/ |
| D | ksm_functional_tests.c | 195 } else if (madvise(map, size, MADV_MERGEABLE)) { in mmap_and_merge_range()
|
| D | ksm_tests.c | 247 if (madvise(addr, size, MADV_MERGEABLE)) { in ksm_merge_pages()
|
| /Linux-v6.6/mm/ |
| D | madvise.c | 1083 case MADV_MERGEABLE: in madvise_vma_behavior() 1184 case MADV_MERGEABLE: in madvise_behavior_valid()
|
| D | ksm.c | 2674 case MADV_MERGEABLE: in ksm_madvise()
|
| D | Kconfig | 735 until a program has madvised that an area is MADV_MERGEABLE, and
|
| /Linux-v6.6/arch/powerpc/kvm/ |
| D | book3s_hv_uvmem.c | 399 int merge_flag = (merge) ? MADV_MERGEABLE : MADV_UNMERGEABLE; in kvmppc_memslot_page_merge()
|