Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mm/
H A Dvm_util.h155 int ksm_use_zero_pages(void);
H A Dksm_functional_tests.c212 if (ksm_use_zero_pages() < 0) { in test_unmerge_zero_pages()
H A Dvm_util.c670 int ksm_use_zero_pages(void) in ksm_use_zero_pages() function
/linux/mm/
H A Dksm.c291 static bool ksm_use_zero_pages __read_mostly;
1549 if (ksm_use_zero_pages && (rmap_item->oldchecksum == zero_checksum)) { in try_to_merge_with_zero_page()
3615 return sysfs_emit(buf, "%u\n", ksm_use_zero_pages); in use_zero_pages_show()
3628 ksm_use_zero_pages = value; in use_zero_pages_store()
3983 ksm_use_zero_pages = false; in ksm_init()