Searched refs:MADV_MERGEABLE (Results 1 – 18 of 18) sorted by relevance
/Linux-v6.1/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/`` 路径下的接口:
|
/Linux-v6.1/Documentation/admin-guide/mm/ |
D | ksm.rst | 39 int madvise(addr, length, MADV_MERGEABLE) 52 If KSM is not configured into the running kernel, madvise MADV_MERGEABLE 55 KSM daemon is not currently running, MADV_MERGEABLE still registers 58 MADV_UNMERGEABLE is applied to a range which was never MADV_MERGEABLE. 60 If a region of memory must be split into at least one new MADV_MERGEABLE 69 Applications should be considerate in their use of MADV_MERGEABLE, 160 The effectiveness of KSM and MADV_MERGEABLE is shown in ``/sys/kernel/mm/ksm/``: 181 indicate poor use of madvise MADV_MERGEABLE. 230 range of madvise(, , MADV_MERGEABLE).
|
/Linux-v6.1/tools/arch/xtensa/include/uapi/asm/ |
D | mman.h | 11 #define MADV_MERGEABLE 12 macro
|
/Linux-v6.1/tools/arch/alpha/include/uapi/asm/ |
D | mman.h | 11 #define MADV_MERGEABLE 12 macro
|
/Linux-v6.1/tools/arch/mips/include/uapi/asm/ |
D | mman.h | 12 #define MADV_MERGEABLE 12 macro
|
/Linux-v6.1/tools/arch/parisc/include/uapi/asm/ |
D | mman.h | 11 #define MADV_MERGEABLE 65 macro
|
/Linux-v6.1/include/uapi/asm-generic/ |
D | mman-common.h | 59 #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ macro
|
/Linux-v6.1/tools/include/uapi/asm-generic/ |
D | mman-common.h | 59 #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ macro
|
/Linux-v6.1/arch/xtensa/include/uapi/asm/ |
D | mman.h | 93 #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ macro
|
/Linux-v6.1/arch/parisc/include/uapi/asm/ |
D | mman.h | 60 #define MADV_MERGEABLE 65 /* KSM may merge identical pages */ macro
|
/Linux-v6.1/arch/alpha/include/uapi/asm/ |
D | mman.h | 58 #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ macro
|
/Linux-v6.1/arch/mips/include/uapi/asm/ |
D | mman.h | 84 #define MADV_MERGEABLE 12 /* KSM may merge identical pages */ macro
|
/Linux-v6.1/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.1/mm/ |
D | madvise.c | 1063 case MADV_MERGEABLE: in madvise_vma_behavior() 1164 case MADV_MERGEABLE: in madvise_behavior_valid()
|
D | ksm.c | 2448 case MADV_MERGEABLE: in ksm_madvise()
|
D | Kconfig | 659 until a program has madvised that an area is MADV_MERGEABLE, and
|
/Linux-v6.1/tools/testing/selftests/vm/ |
D | ksm_tests.c | 177 if (madvise(addr, size, MADV_MERGEABLE)) { in ksm_merge_pages()
|
/Linux-v6.1/arch/powerpc/kvm/ |
D | book3s_hv_uvmem.c | 398 int merge_flag = (merge) ? MADV_MERGEABLE : MADV_UNMERGEABLE; in kvmppc_memslot_page_merge()
|