diff options
author | Andrea Arcangeli <aarcange@redhat.com> | 2011-01-13 18:46:38 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 20:32:39 -0500 |
commit | 59ff421631295cd54dbf75dcc53d27e84af6d9c0 (patch) | |
tree | 2570c413cd0e5938ed5e9c09d00fe026bfa63ca4 | |
parent | 14fd403f2146f740942d78af4e0ee59396ad8eab (diff) |
thp: comment reminder in destroy_compound_page
Warn destroy_compound_page that __split_huge_page_refcount is heavily
dependent on its internal behavior.
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | mm/page_alloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 8be81422d4bd..6e62d5f9d40b 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -357,6 +357,7 @@ void prep_compound_page(struct page *page, unsigned long order) | |||
357 | } | 357 | } |
358 | } | 358 | } |
359 | 359 | ||
360 | /* update __split_huge_page_refcount if you change this function */ | ||
360 | static int destroy_compound_page(struct page *page, unsigned long order) | 361 | static int destroy_compound_page(struct page *page, unsigned long order) |
361 | { | 362 | { |
362 | int i; | 363 | int i; |