diff options
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | 2012-01-10 18:07:06 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-10 19:30:41 -0500 |
commit | da066ad3570b88e7dee82e76a06ee9a7adffcf0d (patch) | |
tree | 0587cac700f316f9d658e350c0ddf4b4331413a5 /mm/page_alloc.c | |
parent | cc59850ef940e4ee6a765d28b439b9bafe07cf63 (diff) |
mm: remove unused pagevec_free
It not exported and now nobody uses it.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Acked-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index cd0c95c6cc9e..6c77efbca5bc 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -2319,16 +2319,6 @@ unsigned long get_zeroed_page(gfp_t gfp_mask) | |||
2319 | } | 2319 | } |
2320 | EXPORT_SYMBOL(get_zeroed_page); | 2320 | EXPORT_SYMBOL(get_zeroed_page); |
2321 | 2321 | ||
2322 | void __pagevec_free(struct pagevec *pvec) | ||
2323 | { | ||
2324 | int i = pagevec_count(pvec); | ||
2325 | |||
2326 | while (--i >= 0) { | ||
2327 | trace_mm_pagevec_free(pvec->pages[i], pvec->cold); | ||
2328 | free_hot_cold_page(pvec->pages[i], pvec->cold); | ||
2329 | } | ||
2330 | } | ||
2331 | |||
2332 | void __free_pages(struct page *page, unsigned int order) | 2322 | void __free_pages(struct page *page, unsigned int order) |
2333 | { | 2323 | { |
2334 | if (put_page_testzero(page)) { | 2324 | if (put_page_testzero(page)) { |