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()
1015 atomic_long_t ksm_zero_pages; member
215 ksm_zero_pages220 ``ksm_zero_pages`` represents the actual number of pages saved by KSM.221 if ``use_zero_pages`` has never been enabled, ``ksm_zero_pages`` is 0.249 ``ksm_zero_pages`` of the system, and all_rmap_items can be easily260 ``ksm_zero_pages``, both of which are shown under the directory
299 atomic_long_t ksm_zero_pages = ATOMIC_LONG_INIT(0); variable3556 return sysfs_emit(buf, "%ld\n", atomic_long_read(&ksm_zero_pages)); in ksm_zero_pages_show()3558 KSM_ATTR_RO(ksm_zero_pages);3565 general_profit = (ksm_pages_sharing + atomic_long_read(&ksm_zero_pages)) * PAGE_SIZE - in general_profit_show()