Re: [PATCH 01/34] x86: add missed pgtable_pmd_page_ctor/dtor calls for preallocated pmds

2013-10-10 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > I've missed that we preallocate few pmds on pgd_alloc() if X86_PAE > enabled. Let's add missed constructor/destructor calls. > > I haven't noticed it during testing since prep_new_page() clears > page->mapping and therefore page->ptl. It's effectively equal to >

[PATCH 01/34] x86: add missed pgtable_pmd_page_ctor/dtor calls for preallocated pmds

2013-10-10 Thread Kirill A. Shutemov
I've missed that we preallocate few pmds on pgd_alloc() if X86_PAE enabled. Let's add missed constructor/destructor calls. I haven't noticed it during testing since prep_new_page() clears page->mapping and therefore page->ptl. It's effectively equal to spin_lock_init(>ptl). Signed-off-by: Kirill

[PATCH 01/34] x86: add missed pgtable_pmd_page_ctor/dtor calls for preallocated pmds

2013-10-10 Thread Kirill A. Shutemov
I've missed that we preallocate few pmds on pgd_alloc() if X86_PAE enabled. Let's add missed constructor/destructor calls. I haven't noticed it during testing since prep_new_page() clears page-mapping and therefore page-ptl. It's effectively equal to spin_lock_init(page-ptl). Signed-off-by:

Re: [PATCH 01/34] x86: add missed pgtable_pmd_page_ctor/dtor calls for preallocated pmds

2013-10-10 Thread Ingo Molnar
* Kirill A. Shutemov kirill.shute...@linux.intel.com wrote: I've missed that we preallocate few pmds on pgd_alloc() if X86_PAE enabled. Let's add missed constructor/destructor calls. I haven't noticed it during testing since prep_new_page() clears page-mapping and therefore page-ptl. It's