Re: [PATCH] hugetlb: use set_compound_page_dtor
On 7/13/07, Akinobu Mita <[EMAIL PROTECTED]> wrote: Use appropriate accessor function to set compound page destructor function. Cc: William Irwin <[EMAIL PROTECTED]> Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMAIL PROTECTED]> -- Adam Litke ( agl at us.ibm.com ) IBM Linux Technology Center - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] hugetlb: use set_compound_page_dtor
On 7/13/07, Akinobu Mita [EMAIL PROTECTED] wrote: Use appropriate accessor function to set compound page destructor function. Cc: William Irwin [EMAIL PROTECTED] Signed-off-by: Akinobu Mita [EMAIL PROTECTED] Acked-by: Adam Litke [EMAIL PROTECTED] -- Adam Litke ( agl at us.ibm.com ) IBM Linux Technology Center - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] hugetlb: use set_compound_page_dtor
Use appropriate accessor function to set compound page destructor function. Cc: William Irwin <[EMAIL PROTECTED]> Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]> --- mm/hugetlb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: 2.6-git/mm/hugetlb.c === --- 2.6-git.orig/mm/hugetlb.c +++ 2.6-git/mm/hugetlb.c @@ -196,7 +196,7 @@ static void update_and_free_page(struct 1 << PG_dirty | 1 << PG_active | 1 << PG_reserved | 1 << PG_private | 1<< PG_writeback); } - page[1].lru.next = NULL; + set_compound_page_dtor(page, NULL); set_page_refcounted(page); __free_pages(page, HUGETLB_PAGE_ORDER); } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] hugetlb: use set_compound_page_dtor
Use appropriate accessor function to set compound page destructor function. Cc: William Irwin [EMAIL PROTECTED] Signed-off-by: Akinobu Mita [EMAIL PROTECTED] --- mm/hugetlb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: 2.6-git/mm/hugetlb.c === --- 2.6-git.orig/mm/hugetlb.c +++ 2.6-git/mm/hugetlb.c @@ -196,7 +196,7 @@ static void update_and_free_page(struct 1 PG_dirty | 1 PG_active | 1 PG_reserved | 1 PG_private | 1 PG_writeback); } - page[1].lru.next = NULL; + set_compound_page_dtor(page, NULL); set_page_refcounted(page); __free_pages(page, HUGETLB_PAGE_ORDER); } - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/