lkml.org 
[lkml]   [2004]   [Apr]   [27]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 26 Apr 2004 21:47:57 -0700
FromAndrew Morton <>
SubjectRe: put_page() tries to handle hugepages but fails
David Gibson <david@gibson.dropbear.id.au> wrote:
>
> +		if (put_page_testzero(page))
>  +			free_huge_page(page);

Well yes, but this is assuming that compound pages are always hugetlb pages.

It's true at present, but it doesn't have to always be true.  The cost of
the destructor is zilch, so why not?

Please review the changes which went into 2.6.6-rc2-mm2.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:02    [from the cache]
©2003-2008