Home
last modified time | relevance | path

Searched refs:rmap_item (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/include/trace/events/
Dksm.h132 TP_PROTO(unsigned long pfn, void *rmap_item, void *mm, int err),
134 TP_ARGS(pfn, rmap_item, mm, err),
138 __field(void *, rmap_item)
145 __entry->rmap_item = rmap_item;
151 __entry->pfn, __entry->rmap_item, __entry->mm, __entry->err)
167 TP_PROTO(void *ksm_page, unsigned long pfn, void *rmap_item, void *mm, int err),
169 TP_ARGS(ksm_page, pfn, rmap_item, mm, err),
174 __field(void *, rmap_item)
182 __entry->rmap_item = rmap_item;
189 __entry->pfn, __entry->rmap_item, __entry->mm, __entry->err)
[all …]
/linux-6.6.21/mm/
Dksm.c385 struct ksm_rmap_item *rmap_item; in alloc_rmap_item() local
387 rmap_item = kmem_cache_zalloc(rmap_item_cache, GFP_KERNEL | in alloc_rmap_item()
389 if (rmap_item) in alloc_rmap_item()
391 return rmap_item; in alloc_rmap_item()
394 static inline void free_rmap_item(struct ksm_rmap_item *rmap_item) in free_rmap_item() argument
397 rmap_item->mm->ksm_rmap_items--; in free_rmap_item()
398 rmap_item->mm = NULL; /* debug safety */ in free_rmap_item()
399 kmem_cache_free(rmap_item_cache, rmap_item); in free_rmap_item()
567 static void break_cow(struct ksm_rmap_item *rmap_item) in break_cow() argument
569 struct mm_struct *mm = rmap_item->mm; in break_cow()
[all …]
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/mm/
Dksm.rst160 sizeof(rmap_item);
168 ksm_rmap_items * sizeof(rmap_item).
175 略。举个例子供参考,一个页面的大小通常是4K,而rmap_item的大小在32位CPU架构上分
/linux-6.6.21/Documentation/translations/zh_CN/mm/
Dksm.rst70 涉及的函数(mm_slot ksm_scan stable_node rmap_item)。
/linux-6.6.21/Documentation/admin-guide/mm/
Dksm.rst209 sizeof(rmap_item);
220 ksm_rmap_items * sizeof(rmap_item).
231 for reference, a page's size is usually 4K, and the rmap_item's size is
/linux-6.6.21/Documentation/mm/
Dksm.rst81 :functions: mm_slot ksm_scan stable_node rmap_item