Searched refs:ksm_zero_pages (Results 1 – 4 of 4) sorted by relevance
36 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()
929 atomic_long_t ksm_zero_pages; member
178 ksm_zero_pages183 ``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 easily223 ``ksm_zero_pages``, both of which are shown under the directory
285 atomic_long_t ksm_zero_pages = ATOMIC_LONG_INIT(0); variable3386 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()