Home
last modified time | relevance | path

Searched refs:ksm_zero_pages (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/include/linux/
H A Dksm.h36 extern atomic_long_t ksm_zero_pages;
40 atomic_long_inc(&ksm_zero_pages); in ksm_map_zero_page()
41 atomic_long_inc(&mm->ksm_zero_pages); in ksm_map_zero_page()
47 atomic_long_dec(&ksm_zero_pages); in ksm_might_unmap_zero_page()
48 atomic_long_dec(&mm->ksm_zero_pages); in ksm_might_unmap_zero_page()
54 return atomic_long_read(&mm->ksm_zero_pages); in mm_ksm_zero_pages()
H A Dmm_types.h929 atomic_long_t ksm_zero_pages; member
/openbmc/linux/Documentation/admin-guide/mm/
H A Dksm.rst178 ksm_zero_pages
183 ``ksm_zero_pages`` represents the actual number of pages saved by KSM.
184 if ``use_zero_pages`` has never been enabled, ``ksm_zero_pages`` is 0.
212 ``ksm_zero_pages`` of the system, and all_rmap_items can be easily
223 ``ksm_zero_pages``, both of which are shown under the directory
/openbmc/linux/mm/
H A Dksm.c285 atomic_long_t ksm_zero_pages = ATOMIC_LONG_INIT(0); variable
3386 return sysfs_emit(buf, "%ld\n", atomic_long_read(&ksm_zero_pages)); in ksm_zero_pages_show()
3388 KSM_ATTR_RO(ksm_zero_pages);
3395 general_profit = (ksm_pages_sharing + atomic_long_read(&ksm_zero_pages)) * PAGE_SIZE - in general_profit_show()