Home
last modified time | relevance | path

Searched refs:stable_node (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/mm/
Dksm.c402 static inline void free_stable_node(struct ksm_stable_node *stable_node) in free_stable_node() argument
404 VM_BUG_ON(stable_node->rmap_hlist_len && in free_stable_node()
405 !is_stable_node_chain(stable_node)); in free_stable_node()
406 kmem_cache_free(stable_node_cache, stable_node); in free_stable_node()
600 static void remove_node_from_stable_tree(struct ksm_stable_node *stable_node) in remove_node_from_stable_tree() argument
605 BUG_ON(stable_node->rmap_hlist_len < 0); in remove_node_from_stable_tree()
607 hlist_for_each_entry(rmap_item, &stable_node->hlist, hlist) { in remove_node_from_stable_tree()
615 VM_BUG_ON(stable_node->rmap_hlist_len <= 0); in remove_node_from_stable_tree()
616 stable_node->rmap_hlist_len--; in remove_node_from_stable_tree()
632 if (stable_node->head == &migrate_nodes) in remove_node_from_stable_tree()
[all …]
/Linux-v6.1/Documentation/mm/
Dksm.rst53 KSM pages. The ksmd walk over the stable_node "chains" is also O(N),
54 but N is the number of stable_node "dups", not the number of
56 practice the best stable_node "dup" candidate will be kept and found
60 (because there will be fewer stable_node dups queued into the
61 stable_node chain->hlist to check for pruning) and higher
68 in the stable_node dups, which could be solved by introducing
70 one stable_node dup to another stable_node dup, in order to free up
71 stable_node "dups" with few rmap_items in them, but that may increase
75 The whole list of stable_node "dups" linked in the stable_node
83 :functions: mm_slot ksm_scan stable_node rmap_item
/Linux-v6.1/Documentation/translations/zh_CN/mm/
Dksm.rst70 涉及的函数(mm_slot ksm_scan stable_node rmap_item)。