Re: [PATCHv4 20/24] mm, thp: remove compound_lock

2015-03-31 Thread Aneesh Kumar K.V
static void put_compound_page(struct page *page) > { > struct page *page_head; > - unsigned long flags; > > if (likely(!PageTail(page))) { > if (put_page_testzero(page)) { > @@ -108,58 +101,33 @@ static void put_compound_page(struct page *page) >

Re: [PATCHv4 20/24] mm, thp: remove compound_lock

2015-03-31 Thread Aneesh Kumar K.V
static void put_compound_page(struct page *page) { struct page *page_head; - unsigned long flags; if (likely(!PageTail(page))) { if (put_page_testzero(page)) { @@ -108,58 +101,33 @@ static void put_compound_page(struct page *page) /*

[PATCHv4 20/24] mm, thp: remove compound_lock

2015-03-04 Thread Kirill A. Shutemov
We don't need a compound lock anymore: split_huge_page() doesn't need it anymore. Signed-off-by: Kirill A. Shutemov --- include/linux/mm.h | 35 include/linux/page-flags.h | 12 +--- mm/debug.c | 3 - mm/swap.c | 135

[PATCHv4 20/24] mm, thp: remove compound_lock

2015-03-04 Thread Kirill A. Shutemov
We don't need a compound lock anymore: split_huge_page() doesn't need it anymore. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- include/linux/mm.h | 35 include/linux/page-flags.h | 12 +--- mm/debug.c | 3 - mm/swap.c