Re: [PATCHv5 0/7] Fix compound_head() race

2015-09-04 Thread Andrea Arcangeli
On Thu, Sep 03, 2015 at 03:35:51PM +0300, Kirill A. Shutemov wrote: > Kirill A. Shutemov (7): > mm: drop page->slab_page > slub: use page->rcu_head instead of page->lru plus cast > zsmalloc: use page->private instead of page->first_page > mm: pack compound_dtor and compound_order into one

Re: [PATCHv5 0/7] Fix compound_head() race

2015-09-04 Thread Andrea Arcangeli
On Thu, Sep 03, 2015 at 03:35:51PM +0300, Kirill A. Shutemov wrote: > Kirill A. Shutemov (7): > mm: drop page->slab_page > slub: use page->rcu_head instead of page->lru plus cast > zsmalloc: use page->private instead of page->first_page > mm: pack compound_dtor and compound_order into one

[PATCHv5 0/7] Fix compound_head() race

2015-09-03 Thread Kirill A. Shutemov
Here's my attempt on fixing race in compound_head(). It should make compound_head() reliable in all contexts. The last patch is optional. It applies cleanly into mmotm patchstack just before my page-flags patchset. As expected, it causes few conflicts with patches:

[PATCHv5 0/7] Fix compound_head() race

2015-09-03 Thread Kirill A. Shutemov
Here's my attempt on fixing race in compound_head(). It should make compound_head() reliable in all contexts. The last patch is optional. It applies cleanly into mmotm patchstack just before my page-flags patchset. As expected, it causes few conflicts with patches: