Thread (17 messages) 17 messages, 5 authors, 2016-03-03

Re: [RFC v5 3/3] mm: make swapin readahead to improve thp collapse rate

From: Kirill A. Shutemov <hidden>
Date: 2015-09-17 13:28:30
Also in: lkml
Subsystem: memory management, memory management - thp (transparent huge page), the rest · Maintainers: Andrew Morton, David Hildenbrand, Lorenzo Stoakes, Linus Torvalds

On Mon, Sep 14, 2015 at 10:31:45PM +0300, Ebru Akagunduz wrote:
quoted hunk ↗ jump to hunk
@@ -2655,6 +2696,8 @@ static void collapse_huge_page(struct mm_struct *mm,
 
 	anon_vma_lock_write(vma->anon_vma);
 
+	__collapse_huge_page_swapin(mm, vma, address, pmd, pte);
+
Do I miss something, or 'pte' is not initialized at this point?
And the value is not really used in __collapse_huge_page_swapin().
 	pte = pte_offset_map(pmd, address);
 	pte_ptl = pte_lockptr(mm, pmd);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help